summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/events/events_timed.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/events/events_timed.c b/source4/lib/events/events_timed.c
index 6b0919d0f1..c85f8371c1 100644
--- a/source4/lib/events/events_timed.c
+++ b/source4/lib/events/events_timed.c
@@ -33,8 +33,8 @@
*/
static int common_event_timed_destructor(struct timed_event *te)
{
- struct event_context *ev = talloc_get_type(te->event_ctx->additional_data,
- struct event_context);
+ struct event_context *ev = talloc_get_type(te->event_ctx,
+ struct event_context);
DLIST_REMOVE(ev->timed_events, te);
return 0;
}