tevent: Fix build break
authorTim Prouty <tprouty@samba.org>
Sun, 11 Jan 2009 19:00:50 +0000 (11:00 -0800)
committerTim Prouty <tprouty@samba.org>
Sun, 11 Jan 2009 19:00:50 +0000 (11:00 -0800)
lib/tevent/tevent.c

index fa8219e2348e4f48b8a1b892dd106f5fc1808097..cf178028fd60b0fcb87dcebb668d71d484418892 100644 (file)
@@ -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;
        }