Author: cazfi
Date: Mon Dec 14 00:50:40 2015
New Revision: 30971

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

See bug #24165

Modified:
    trunk/ai/threaded/taicity.c

Modified: trunk/ai/threaded/taicity.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/ai/threaded/taicity.c?rev=30971&r1=30970&r2=30971&view=diff
==============================================================================
--- trunk/ai/threaded/taicity.c (original)
+++ trunk/ai/threaded/taicity.c Mon Dec 14 00:50:40 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