summaryrefslogtreecommitdiffhomepage
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 0f445f6..2d695ed 100644
--- a/src/main.c
+++ b/src/main.c
@@ -401,6 +401,7 @@ main (int argc, char **argv)
child_kill_children (SIGTERM);
child_close_sock ();
+ child_free_children();
/* Remove the PID file */
if (config->pidpath != NULL && unlink (config->pidpath) < 0) {