Author: sveinung
Date: Thu Oct 20 15:27:07 2016
New Revision: 34194

URL: http://svn.gna.org/viewcvs/freeciv?rev=34194&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:
    branches/S2_6/tools/civmanual.c

Modified: branches/S2_6/tools/civmanual.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/tools/civmanual.c?rev=34194&r1=34193&r2=34194&view=diff
==============================================================================
--- branches/S2_6/tools/civmanual.c     (original)
+++ branches/S2_6/tools/civmanual.c     Thu Oct 20 15:27:07 2016
@@ -674,8 +674,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