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

lib/events: use mem_context given to event_context_init().

Michael
(This used to be commit f872a1f442)
This commit is contained in:
Michael Adam 2008-05-28 00:59:14 +02:00
parent af6e91e0b3
commit 87c15f5a57

View File

@ -356,7 +356,7 @@ int event_loop_once(struct event_context *ev)
struct event_context *event_context_init(TALLOC_CTX *mem_ctx)
{
return TALLOC_ZERO_P(NULL, struct event_context);
return TALLOC_ZERO_P(mem_ctx, struct event_context);
}
int set_event_dispatch_time(struct event_context *event_ctx,