Tests: Fix a memory leak in test_bcj_exact_size.
Thanks to Cristian Rodríguez.
This commit is contained in:
parent
68cd35acaf
commit
960440f323
|
@ -65,6 +65,7 @@ decompress(void)
|
|||
if (ret == LZMA_STREAM_END) {
|
||||
expect(strm.total_in == compressed_size);
|
||||
expect(strm.total_out == sizeof(in));
|
||||
lzma_end(&strm);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue