summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-05-28 00:59:14 +0200
committerMichael Adam <obnox@samba.org>2008-05-28 01:10:55 +0200
commit87c15f5a57c4c7e35ac87fa1c90faeeac7c86250 (patch)
tree4c5367661557104c2f5c2e8607dacc2228c4d392 /source3
parentaf6e91e0b35e0b8c9edec4fbbc7fe2aaf80576e9 (diff)
downloadsamba-87c15f5a57c4c7e35ac87fa1c90faeeac7c86250.tar.gz
samba-87c15f5a57c4c7e35ac87fa1c90faeeac7c86250.tar.bz2
samba-87c15f5a57c4c7e35ac87fa1c90faeeac7c86250.zip
lib/events: use mem_context given to event_context_init().
Michael (This used to be commit f872a1f4428ed64bcfd832d981eea6446f05339e)
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/events.c b/source3/lib/events.c
index 9decf213b4..8134a7ac1c 100644
--- a/source3/lib/events.c
+++ b/source3/lib/events.c
@@ -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,