commit | 1272aab1cd6d11fc690bba076d2cf66e30fc21fb | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Sat Jan 03 04:39:51 2009 +0000 |
committer | Harald Welte <laforge@gnumonks.org> | Sat Jan 03 04:39:51 2009 +0000 |
tree | 1a90d4b2e0a2c884df1ec83f80dbb5eb44d3e139 | |
parent | 599639eaf924a3a6fa88583760b43eae2e7ce46c [diff] [blame] |
Go through del_timer otherwise in_list will not be reset leading to crashes...
diff --git a/src/timer.c b/src/timer.c index d2039fd..3ec085b 100644 --- a/src/timer.c +++ b/src/timer.c
@@ -164,7 +164,7 @@ llist_for_each_entry_safe(timer, tmp, &timer_list, entry) { timer->handled = 0; if (!timer->active) { - llist_del(&timer->entry); + del_timer(timer); } } }