diff options
author | Eric Anholt <eric@anholt.net> | 2009-11-23 18:32:35 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-11-23 18:32:35 -0800 |
commit | 02981c7267b73f7fc088ded4cf6baa835ab540f7 (patch) | |
tree | 8b7639edcd1b5ad5195f30ba0681cfa9c1d40247 /tests/delete_and_lookup.c | |
parent | 7c7d3e26da0e9e49c3b179403a7b9217d4e9cb18 (diff) |
Fix valgrind complaints, including leaking the table data!
Diffstat (limited to 'tests/delete_and_lookup.c')
-rw-r--r-- | tests/delete_and_lookup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/delete_and_lookup.c b/tests/delete_and_lookup.c index 0515ed5..8428ccb 100644 --- a/tests/delete_and_lookup.c +++ b/tests/delete_and_lookup.c @@ -69,7 +69,7 @@ main(int argc, char **argv) entry = hash_table_search(ht, hash_str2, str2); assert(strcmp(entry->key, str2) == 0); - hash_table_destroy(NULL, NULL); + hash_table_destroy(ht, NULL); return 0; } |