Author: cazfi
Date: Wed Jan 20 06:35:45 2016
New Revision: 31506

URL: http://svn.gna.org/viewcvs/freeciv?rev=31506&view=rev
Log:
Free structure of the metaserver connection handling thread.

See bug #24287

Modified:
    branches/S2_5/server/meta.c

Modified: branches/S2_5/server/meta.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/server/meta.c?rev=31506&r1=31505&r2=31506&view=diff
==============================================================================
--- branches/S2_5/server/meta.c (original)
+++ branches/S2_5/server/meta.c Wed Jan 20 06:35:45 2016
@@ -448,7 +448,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)
 {
@@ -469,6 +469,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

Reply via email to