Author: cazfi
Date: Sun Jun 21 22:53:58 2015
New Revision: 29168

URL: http://svn.gna.org/viewcvs/freeciv?rev=29168&view=rev
Log:
Free embedded nations vector.

See bug #23597

Modified:
    trunk/server/ruleset.c

Modified: trunk/server/ruleset.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/server/ruleset.c?rev=29168&r1=29167&r2=29168&view=diff
==============================================================================
--- trunk/server/ruleset.c      (original)
+++ trunk/server/ruleset.c      Sun Jun 21 22:53:58 2015
@@ -3847,6 +3847,8 @@
     for (j = 0; j < game.server.ruledit.embedded_nations_count; j++) {
       game.server.ruledit.embedded_nations[j] = fc_strdup(vec[j]);
     }
+
+    free(vec);
   }
 
   game.server.default_government = NULL;


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

Reply via email to