commit | c7f4041f6b8f4729f88d3bc888b2a4080ae51f72 | [log] [tgz] |
---|---|---|
author | Lasse Collin <lasse.collin@tukaani.org> | Wed May 13 20:57:55 2015 +0300 |
committer | Lasse Collin <lasse.collin@tukaani.org> | Wed May 13 20:57:55 2015 +0300 |
tree | 5bf2b47b3739f67b4537af1bab0fe0b4dd59333c | |
parent | 17b29d4f0ae0f780fbd69e15a398dc478d8492f8 [diff] |
Tests: Fix a memory leak in test_bcj_exact_size. Thanks to Cristian RodrÃguez.
diff --git a/tests/test_bcj_exact_size.c b/tests/test_bcj_exact_size.c index cbd9340..4a11a9c 100644 --- a/tests/test_bcj_exact_size.c +++ b/tests/test_bcj_exact_size.c
@@ -65,6 +65,7 @@ if (ret == LZMA_STREAM_END) { expect(strm.total_in == compressed_size); expect(strm.total_out == sizeof(in)); + lzma_end(&strm); return; }