Tests: test_index_hash: Fix a memory leak.

This commit is contained in:
Lasse Collin 2023-01-06 17:55:06 +02:00
parent 02608f74ea
commit d550304f53
1 changed files with 2 additions and 0 deletions

View File

@ -367,6 +367,8 @@ test_lzma_index_hash_size(void)
// Total - 16 bytes // Total - 16 bytes
expected_size = 16; expected_size = 16;
assert_uint_eq(lzma_index_hash_size(index_hash), expected_size); assert_uint_eq(lzma_index_hash_size(index_hash), expected_size);
lzma_index_hash_end(index_hash, NULL);
#endif #endif
} }