summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/events/events_standard.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/events/events_standard.c b/source4/lib/events/events_standard.c
index 146dbc6b22..d521ffa344 100644
--- a/source4/lib/events/events_standard.c
+++ b/source4/lib/events/events_standard.c
@@ -357,6 +357,7 @@ static void std_event_loop_timer(struct event_context *ev)
/* The destructor isn't necessary anymore, we've already removed the
* event from the list. */
+ talloc_set_destructor(te, NULL);
talloc_free(te);
}