From d52ab1e8c4d8c203e4907fdcf2856e230b24f4cd Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Sun, 12 Dec 2010 15:02:40 +0100 Subject: [PATCH] Bugfixing: free our hashpositions... --- libcitadel/tests/hashlist_test.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libcitadel/tests/hashlist_test.c b/libcitadel/tests/hashlist_test.c index d7a1e1999..af304f360 100644 --- a/libcitadel/tests/hashlist_test.c +++ b/libcitadel/tests/hashlist_test.c @@ -111,6 +111,7 @@ static void TestHashlistAddDelete (void) printf("Remove first\n"); DeleteEntryFromHash(H, at); + DeleteHashPos(&at); ValidateBackAndForth(H); @@ -139,7 +140,7 @@ static void TestHashlistAddDelete (void) ValidateBackAndForth(H); - + DeleteHashPos(&at); DeleteHash(&H); } -- 2.39.2