Author: cazfi
Date: Sun Aug 16 15:36:46 2015
New Revision: 29557

URL: http://svn.gna.org/viewcvs/freeciv?rev=29557&view=rev
Log:
Destroy "between_turns" timer on exit.

See patch #6231

Modified:
    trunk/server/srv_main.c

Modified: trunk/server/srv_main.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/server/srv_main.c?rev=29557&r1=29556&r2=29557&view=diff
==============================================================================
--- trunk/server/srv_main.c     (original)
+++ trunk/server/srv_main.c     Sun Aug 16 15:36:46 2015
@@ -2635,6 +2635,10 @@
     timer_destroy(game.server.save_timer);
     game.server.save_timer = NULL;
   }
+  if (between_turns != NULL) {
+    timer_destroy(between_turns);
+    between_turns = NULL;
+  }
   timer_destroy(eot_timer);
 }
 


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

Reply via email to