aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2015-05-13 20:57:55 +0300
committerLasse Collin <lasse.collin@tukaani.org>2015-05-13 20:57:55 +0300
commitc7f4041f6b8f4729f88d3bc888b2a4080ae51f72 (patch)
tree5bf2b47b3739f67b4537af1bab0fe0b4dd59333c
parentFix NEWS about threading in 5.2.0. (diff)
downloadxz-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.c1
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;
}