Skip to content

Commit

Permalink
Fix memory leaks in a test program
Browse files Browse the repository at this point in the history
  • Loading branch information
stevegrubb committed Mar 25, 2024
1 parent d57f4e2 commit e1ee7bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tests/gid_proc_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e1ee7bf

Please sign in to comment.