summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common/timer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/timer.c b/src/common/timer.c
index 5c83928ef..e7a57481a 100644
--- a/src/common/timer.c
+++ b/src/common/timer.c
@@ -491,6 +491,7 @@ int do_timer(int64 tick)
default:
case TIMER_ONCE_AUTODEL:
timer_data[tid].type = 0;
+ timer_data[tid].func = NULL;
if (free_timer_list_pos >= free_timer_list_max) {
free_timer_list_max += 256;
RECREATE(free_timer_list,int,free_timer_list_max);