projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04396ca
)
Bugfixing: free our hashpositions...
author
Wilfried Goesgens
<dothebart@citadel.org>
Sun, 12 Dec 2010 14:02:40 +0000
(15:02 +0100)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Sun, 12 Dec 2010 14:10:26 +0000
(15:10 +0100)
libcitadel/tests/hashlist_test.c
patch
|
blob
|
history
diff --git
a/libcitadel/tests/hashlist_test.c
b/libcitadel/tests/hashlist_test.c
index d7a1e19996e1c504c05b1149d866e33613de5ce1..af304f360483d08dfb9fc371880660d9eb65c05e 100644
(file)
--- 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);
}