1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00

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

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
} }