Author: cazfi
Date: Tue Feb  3 02:56:48 2015
New Revision: 27935

URL: http://svn.gna.org/viewcvs/freeciv?rev=27935&view=rev
Log:
Fixed leak of worker task data from Threaded AI 

See bug #23226

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=27935&r1=27934&r2=27935&view=diff
==============================================================================
--- branches/S2_6/ai/threaded/taicity.c (original)
+++ branches/S2_6/ai/threaded/taicity.c Tue Feb  3 02:56:48 2015
@@ -355,5 +355,7 @@
 
     /* Send info to observers */
     package_and_send_worker_task(pcity);
+
+    free(data);
   }
 }


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

Reply via email to