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:
parent
02608f74ea
commit
d550304f53
1 changed files with 2 additions and 0 deletions
|
@ -367,6 +367,8 @@ test_lzma_index_hash_size(void)
|
|||
// Total - 16 bytes
|
||||
expected_size = 16;
|
||||
assert_uint_eq(lzma_index_hash_size(index_hash), expected_size);
|
||||
|
||||
lzma_index_hash_end(index_hash, NULL);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue