diff options
author | rofl0r <rofl0r@users.noreply.github.com> | 2020-09-15 19:09:43 +0100 |
---|---|---|
committer | rofl0r <rofl0r@users.noreply.github.com> | 2020-09-15 20:02:12 +0100 |
commit | 6dd3806f7d1a337fb89e335e986e1fa4eab8340c (patch) | |
tree | a2eba86b7a16a3bbc43e3763f2769dd726c3217c | |
parent | 7eb6600aeb5226b0035616563fc560cb16b42df2 (diff) |
childs.c: fix minor memory leak
this would leak only once on program termination, so it's no big
deal apart from having spurious reachable memory in valgrind logs.
-rw-r--r-- | src/child.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/child.c b/src/child.c index 9d59d20..fb05cbe 100644 --- a/src/child.c +++ b/src/child.c @@ -217,6 +217,7 @@ oom: goto oom; } } + sblist_free(childs); } /* |