summaryrefslogtreecommitdiff
path: root/source4/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2017-04-07 15:10:09 -0700
committerRalph Boehme <slow@samba.org>2017-04-08 12:30:08 +0200
commitc97714319bdd0c3d54fb3ba64798c3aa674bb60b (patch)
tree23b62879cfeb78ce03f11d1d70164954683e569f /source4/smbd
parent7c017234ab486859829aeaab2ce728956db30b60 (diff)
downloadsamba-c97714319bdd0c3d54fb3ba64798c3aa674bb60b.tar.gz
s4: process_standard: Always free tevent_context before exit().
Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'source4/smbd')
-rw-r--r--source4/smbd/process_standard.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/smbd/process_standard.c b/source4/smbd/process_standard.c
index f786d4dcc22..766b99617d0 100644
--- a/source4/smbd/process_standard.c
+++ b/source4/smbd/process_standard.c
@@ -65,6 +65,7 @@ static void standard_pipe_handler(struct tevent_context *event_ctx, struct teven
uint16_t flags, void *private_data)
{
DEBUG(10,("Child %d exiting\n", (int)getpid()));
+ talloc_free(event_ctx);
exit(0);
}