mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
Tests: Fix a memory leak in test_bcj_exact_size.
Thanks to Cristian Rodríguez.
This commit is contained in:
parent
17b29d4f0a
commit
c7f4041f6b
1 changed files with 1 additions and 0 deletions
|
@ -65,6 +65,7 @@ decompress(void)
|
||||||
if (ret == LZMA_STREAM_END) {
|
if (ret == LZMA_STREAM_END) {
|
||||||
expect(strm.total_in == compressed_size);
|
expect(strm.total_in == compressed_size);
|
||||||
expect(strm.total_out == sizeof(in));
|
expect(strm.total_out == sizeof(in));
|
||||||
|
lzma_end(&strm);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue