diff options
-rw-r--r-- | lib/tevent/tevent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tevent/tevent.c b/lib/tevent/tevent.c index fa8219e234..cf178028fd 100644 --- a/lib/tevent/tevent.c +++ b/lib/tevent/tevent.c @@ -157,7 +157,7 @@ int tevent_common_context_destructor(struct tevent_context *ev) te = ev->timer_events; while (te) { te->event_ctx = NULL; - DLIST_REMOVE(te->timer_events, te); + DLIST_REMOVE(ev->timer_events, te); te = ev->timer_events; } |