]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Free all the things
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 17 Aug 2021 13:09:36 +0000 (08:09 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 17 Aug 2021 13:09:36 +0000 (08:09 -0500)
src/lib/util/heap_tests.c

index 19ae201af696adda38bc0209936bcf0b721f1fc0..031e3f7e877079f201e3cacff7f830896543e3cd 100644 (file)
@@ -180,6 +180,9 @@ static void heap_test_order(void)
        }
 
        TEST_CHECK(count == HEAP_TEST_SIZE);
+
+       talloc_free(hp);
+       free(array);
 }
 
 static void heap_cycle(void)