diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2015-05-13 20:57:55 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2015-05-13 21:36:19 +0300 |
commit | 960440f3230dc628f6966d9f7614fc1b28baf44e (patch) | |
tree | da041de450c73a86cbec7888e270b4e5b459a29b /tests/test_bcj_exact_size.c | |
parent | Fix NEWS about threading in 5.2.0. (diff) | |
download | xz-960440f3230dc628f6966d9f7614fc1b28baf44e.tar.xz |
Tests: Fix a memory leak in test_bcj_exact_size.
Thanks to Cristian RodrÃguez.
Diffstat (limited to 'tests/test_bcj_exact_size.c')
-rw-r--r-- | tests/test_bcj_exact_size.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_bcj_exact_size.c b/tests/test_bcj_exact_size.c index cbd93405..4a11a9c6 100644 --- a/tests/test_bcj_exact_size.c +++ b/tests/test_bcj_exact_size.c @@ -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; } |