git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af6e91e
)
lib/events: use mem_context given to event_context_init().
author
Michael Adam
<obnox@samba.org>
Tue, 27 May 2008 22:59:14 +0000
(
00:59
+0200)
committer
Michael Adam
<obnox@samba.org>
Tue, 27 May 2008 23:10:55 +0000
(
01:10
+0200)
Michael
(This used to be commit
f872a1f4428ed64bcfd832d981eea6446f05339e
)
source3/lib/events.c
patch
|
blob
|
history
diff --git
a/source3/lib/events.c
b/source3/lib/events.c
index 9decf213b4a71017fd58744649a8efbd70333b21..8134a7ac1c2a9503f4696a5df21a873077f3903a 100644
(file)
--- 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,