Author: cazfi
Date: Thu Jan  8 22:16:58 2015
New Revision: 27574

URL: http://svn.gna.org/viewcvs/freeciv?rev=27574&view=rev
Log:
Removed double secfile_destroy() for game.ruleset when capstr check fails.

See bug #23140

Modified:
    trunk/server/ruleset.c

Modified: trunk/server/ruleset.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/server/ruleset.c?rev=27574&r1=27573&r2=27574&view=diff
==============================================================================
--- trunk/server/ruleset.c      (original)
+++ trunk/server/ruleset.c      Thu Jan  8 22:16:58 2015
@@ -4749,7 +4749,6 @@
 
   /* section: datafile */
   if (check_ruleset_capabilities(file, RULESET_CAPABILITIES, filename) == 
NULL) {
-    secfile_destroy(file);
     return FALSE;
   }
   (void) secfile_entry_by_path(file, "datafile.description");   /* unused */


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

Reply via email to