git.samba.org
/
metze
/
samba
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
clean event context after child is forked.
[metze/samba/wip.git]
/
source3
/
lib
/
util.c
diff --git
a/source3/lib/util.c
b/source3/lib/util.c
index d00a764c1d543dbb377cfdd13cdb4a4c51717b6e..08ea5add7a559a0bf83c02fae6ea99c5c7d7397e 100644
(file)
--- a/
source3/lib/util.c
+++ b/
source3/lib/util.c
@@
-949,6
+949,7
@@
void become_daemon(bool Fork, bool no_process_group)
}
bool reinit_after_fork(struct messaging_context *msg_ctx,
+ struct event_context *ev_ctx,
bool parent_longlived)
{
NTSTATUS status;
@@
-976,6
+977,8
@@
bool reinit_after_fork(struct messaging_context *msg_ctx,
return false;
}
+ event_context_reinit(ev_ctx);
+
return true;
}