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 20:57:55 +0300 |
commit | c7f4041f6b8f4729f88d3bc888b2a4080ae51f72 (patch) | |
tree | 5bf2b47b3739f67b4537af1bab0fe0b4dd59333c | |
parent | Fix NEWS about threading in 5.2.0. (diff) | |
download | xz-c7f4041f6b8f4729f88d3bc888b2a4080ae51f72.tar.xz |
Tests: Fix a memory leak in test_bcj_exact_size.
Thanks to Cristian RodrÃguez.
-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; } |