From e1ee7bfe4e3ed0dfd58e8c924edc7fa413716095 Mon Sep 17 00:00:00 2001 From: Steve Grubb Date: Mon, 25 Mar 2024 12:44:06 -0400 Subject: [PATCH] Fix memory leaks in a test program --- src/tests/gid_proc_test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tests/gid_proc_test.c b/src/tests/gid_proc_test.c index 666f71c4..0bf46e41 100644 --- a/src/tests/gid_proc_test.c +++ b/src/tests/gid_proc_test.c @@ -51,6 +51,8 @@ int main(void) res = avl_intersection(&(g->tree), &(groups->tree)); if (!res) error(1, 0, "Positive AVL intersection failed"); + destroy_attr_set(g); + free(g); } destroy_attr_set(groups);