1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

r20540: darn, also need to fix this event_context reference

(This used to be commit c8bd3ec09d)
This commit is contained in:
Andrew Tridgell 2007-01-05 10:31:54 +00:00 committed by Gerald (Jerry) Carter
parent b213b70c08
commit 34040b420a

View File

@ -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;
}