Author: cazfi
Date: Fri Jan  8 21:21:25 2016
New Revision: 31420

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

See bug #24287

Modified:
    trunk/server/meta.c

Modified: trunk/server/meta.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/server/meta.c?rev=31420&r1=31419&r2=31420&view=diff
==============================================================================
--- trunk/server/meta.c (original)
+++ trunk/server/meta.c Fri Jan  8 21:21:25 2016
@@ -476,7 +476,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)
 {
@@ -497,6 +497,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