diff options
| author | Mistivia <i@mistivia.com> | 2025-06-06 12:58:14 +0800 |
|---|---|---|
| committer | Mistivia <i@mistivia.com> | 2025-06-06 12:58:14 +0800 |
| commit | 1fad3a10fe4743d69342de294cc65bfe66e32bc9 (patch) | |
| tree | d91be066e44fe7af1eeece0f1b081463bc64dfc7 /tests/test_htable.c | |
| parent | 4779050053cb5f73b54ff936c6393e82ffe5605c (diff) | |
fix leak and hashtable bug
Diffstat (limited to 'tests/test_htable.c')
| -rw-r--r-- | tests/test_htable.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_htable.c b/tests/test_htable.c index 310d141..77413d3 100644 --- a/tests/test_htable.c +++ b/tests/test_htable.c @@ -66,6 +66,7 @@ int main() { for (int i = 0; i < 10000; i++) { assert(found[i]); } + destroy_hash_table(&ht); printf("[PASS] htable\n"); } |
