Author: cazfi
Date: Sun Aug 16 15:36:53 2015
New Revision: 29558

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

See patch #6231

Modified:
    branches/S2_6/server/srv_main.c

Modified: branches/S2_6/server/srv_main.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/server/srv_main.c?rev=29558&r1=29557&r2=29558&view=diff
==============================================================================
--- branches/S2_6/server/srv_main.c     (original)
+++ branches/S2_6/server/srv_main.c     Sun Aug 16 15:36:53 2015
@@ -2601,6 +2601,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