Author: cazfi
Date: Thu Jan  8 22:17:04 2015
New Revision: 27575

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

See bug #23140

Modified:
    branches/S2_6/server/ruleset.c

Modified: branches/S2_6/server/ruleset.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/server/ruleset.c?rev=27575&r1=27574&r2=27575&view=diff
==============================================================================
--- branches/S2_6/server/ruleset.c      (original)
+++ branches/S2_6/server/ruleset.c      Thu Jan  8 22:17:04 2015
@@ -4744,7 +4744,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