From 42849170f49534281f83a99359379aa50451c4de Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Fri, 11 Mar 2016 09:47:13 +0100 Subject: [PATCH] memory leak: free this test's local attrib list --- src/attributes/key.test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/attributes/key.test.c b/src/attributes/key.test.c index 72b72a3b9..46343d19f 100644 --- a/src/attributes/key.test.c +++ b/src/attributes/key.test.c @@ -39,6 +39,7 @@ static void test_upgrade(CuTest *tc) { CuAssertTrue(tc, key_get(alist, 42)); CuAssertTrue(tc, key_get(alist, 43)); CuAssertTrue(tc, key_get(alist, 44)); + a_removeall(&alist, NULL); } CuSuite *get_key_suite(void)