diff options
author | rofl0r <rofl0r@users.noreply.github.com> | 2020-09-15 22:32:25 +0100 |
---|---|---|
committer | rofl0r <rofl0r@users.noreply.github.com> | 2020-09-15 22:32:42 +0100 |
commit | 372d7ff8241888bc3895182b39497fa23381b7e7 (patch) | |
tree | ba9924ae6095404108adac691a60f082b175faf8 /src/child.c | |
parent | 2f3a3828accfc6fca0e6f35e1bf28bace7f5851a (diff) |
shutdown: free children from right place
Diffstat (limited to 'src/child.c')
-rw-r--r-- | src/child.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/child.c b/src/child.c index 9d59d20..3b1800f 100644 --- a/src/child.c +++ b/src/child.c @@ -245,6 +245,10 @@ void child_kill_children (int sig) ); } +void child_free_children(void) { + sblist_free(childs); + childs = 0; +} /** * Listen on the various configured interfaces |