]> code.citadel.org Git - citadel.git/blobdiff - libcitadel/tests/hashlist_test.c
Bugfixing: free our hashpositions...
[citadel.git] / libcitadel / tests / hashlist_test.c
index d7a1e19996e1c504c05b1149d866e33613de5ce1..af304f360483d08dfb9fc371880660d9eb65c05e 100644 (file)
@@ -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);
 }