diff options
author | 2024-03-28 21:30:40 +0100 | |
---|---|---|
committer | 2024-03-29 11:58:25 +0100 | |
commit | 06d9fb823e99cce2c66c5c4888b91538e66d166e (patch) | |
tree | 63121d08088d9278f38e986bf33ec192fac752cd | |
parent | qlop: Do not leak avgs array in predict mode (diff) | |
download | portage-utils-06d9fb823e99cce2c66c5c4888b91538e66d166e.tar.gz portage-utils-06d9fb823e99cce2c66c5c4888b91538e66d166e.tar.bz2 portage-utils-06d9fb823e99cce2c66c5c4888b91538e66d166e.zip |
tests: avoid leaking buf after exiting the loop in atom_explode
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
-rw-r--r-- | tests/atom_explode/test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/atom_explode/test.c b/tests/atom_explode/test.c index b794d3b..ff1c58d 100644 --- a/tests/atom_explode/test.c +++ b/tests/atom_explode/test.c @@ -64,6 +64,7 @@ int main(int argc, char *argv[]) boom(a, buf); atom_implode(a); } + free(buf); } return EXIT_SUCCESS; |