Author: cazfi
Date: Mon Dec 14 00:50:45 2015
New Revision: 30972

URL: http://svn.gna.org/viewcvs/freeciv?rev=30972&view=rev
Log:
Always free city worker request from threaded AI.

See bug #24165

Modified:
    branches/S2_6/ai/threaded/taicity.c

Modified: branches/S2_6/ai/threaded/taicity.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/ai/threaded/taicity.c?rev=30972&r1=30971&r2=30972&view=diff
==============================================================================
--- branches/S2_6/ai/threaded/taicity.c (original)
+++ branches/S2_6/ai/threaded/taicity.c Mon Dec 14 00:50:45 2015
@@ -395,7 +395,7 @@
 
     /* Send info to observers */
     package_and_send_worker_task(pcity);
-
-    free(data);
-  }
+  }
+
+  free(data);
 }


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

Reply via email to