summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}