Author: sveinung
Date: Wed May 10 10:17:45 2017
New Revision: 35483

URL: http://svn.gna.org/viewcvs/freeciv?rev=35483&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:
    branches/S3_0/server/ruleset.c

Modified: branches/S3_0/server/ruleset.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S3_0/server/ruleset.c?rev=35483&r1=35482&r2=35483&view=diff
==============================================================================
--- branches/S3_0/server/ruleset.c      (original)
+++ branches/S3_0/server/ruleset.c      Wed May 10 10:17:45 2017
@@ -6648,6 +6648,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