Author: cazfi
Date: Tue Feb 3 02:56:41 2015
New Revision: 27934
URL: http://svn.gna.org/viewcvs/freeciv?rev=27934&view=rev
Log:
Fixed leak of worker task data from Threaded AI
See bug #23226
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=27934&r1=27933&r2=27934&view=diff
==============================================================================
--- trunk/ai/threaded/taicity.c (original)
+++ trunk/ai/threaded/taicity.c Tue Feb 3 02:56:41 2015
@@ -355,5 +355,7 @@
/* Send info to observers */
package_and_send_worker_task(pcity);
+
+ free(data);
}
}
_______________________________________________
Freeciv-commits mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-commits