Author: sveinung
Date: Thu Oct 20 15:08:35 2016
New Revision: 34193

URL: http://svn.gna.org/viewcvs/freeciv?rev=34193&view=rev
Log:
Fix double free in freeciv-manual.

The ruleset option is set to be garbage collected. Don't free the variable
pointing to it.

See bug #25201

Modified:
    trunk/tools/civmanual.c

Modified: trunk/tools/civmanual.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/tools/civmanual.c?rev=34193&r1=34192&r2=34193&view=diff
==============================================================================
--- trunk/tools/civmanual.c     (original)
+++ trunk/tools/civmanual.c     Thu Oct 20 15:08:35 2016
@@ -758,8 +758,6 @@
     retval = EXIT_FAILURE;
   }
 
-  FC_FREE(ruleset);
-
   con_log_close();
   registry_module_close();
   free_libfreeciv();


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to