diff options
Diffstat (limited to 'src/timer.c')
-rw-r--r-- | src/timer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/timer.c b/src/timer.c index 10a0b95d..cc6d5ccd 100644 --- a/src/timer.c +++ b/src/timer.c @@ -241,7 +241,8 @@ int osmo_timers_update(void) restart: llist_for_each_entry(this, &timer_eviction_list, list) { osmo_timer_del(this); - this->cb(this->data); + if (this->cb) + this->cb(this->data); work = 1; goto restart; } |