Author: cazfi Date: Fri Jan 8 21:21:31 2016 New Revision: 31421 URL: http://svn.gna.org/viewcvs/freeciv?rev=31421&view=rev Log: Free structure of the metaserver connection handling thread.
See bug #24287 Modified: branches/S2_6/server/meta.c Modified: branches/S2_6/server/meta.c URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_6/server/meta.c?rev=31421&r1=31420&r2=31421&view=diff ============================================================================== --- branches/S2_6/server/meta.c (original) +++ branches/S2_6/server/meta.c Fri Jan 8 21:21:31 2016 @@ -474,7 +474,7 @@ } /************************************************************************** - control when we send info to the metaserver. + Control when we send info to the metaserver. **************************************************************************/ bool send_server_info_to_metaserver(enum meta_flag flag) { @@ -495,6 +495,7 @@ /* Wait metaserver thread to finish */ fc_thread_wait(meta_srv_thread); + free(meta_srv_thread); meta_srv_thread = NULL; return TRUE; _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits