Author: sveinung
Date: Thu Jun 30 10:27:50 2016
New Revision: 33119

URL: http://svn.gna.org/viewcvs/freeciv?rev=33119&view=rev
Log:
Set action to NULL actions after free().

See patch #7349

Modified:
    trunk/common/actions.c

Modified: trunk/common/actions.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/common/actions.c?rev=33119&r1=33118&r2=33119&view=diff
==============================================================================
--- trunk/common/actions.c      (original)
+++ trunk/common/actions.c      Thu Jun 30 10:27:50 2016
@@ -261,7 +261,7 @@
 
     action_enabler_list_destroy(action_enablers_by_action[act]);
 
-    free(actions[act]);
+    FC_FREE(actions[act]);
   } action_iterate_end;
 
   /* Free the action auto performers. */


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

Reply via email to