mirror of https://git.tukaani.org/xz.git
Tests: test_index_hash: Fix a memory leak.
This commit is contained in:
parent
02608f74ea
commit
d550304f53
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue