Author: sveinung
Date: Wed May 10 10:14:56 2017
New Revision: 35475

URL: http://svn.gna.org/viewcvs/freeciv?rev=35475&view=rev
Log:
Destroy the rs section list of achievements.

Destroy the section list used to load achievements from the ruleset.

Reported by Valgrind.

See hrm Bug #658472

Modified:
    trunk/server/ruleset.c

Modified: trunk/server/ruleset.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/server/ruleset.c?rev=35475&r1=35474&r2=35475&view=diff
==============================================================================
--- trunk/server/ruleset.c      (original)
+++ trunk/server/ruleset.c      Wed May 10 10:14:56 2017
@@ -6639,6 +6639,7 @@
         break;
       }
     } achievements_iterate_end;
+    section_list_destroy(sec);
   }
 
   if (ok) {


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

Reply via email to