aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2008-01-23 13:40:45 +0200
committerLasse Collin <lasse.collin@tukaani.org>2008-01-23 13:40:45 +0200
commit980f65a9a10160c4d105767871e3002b9aaba3e0 (patch)
treec0a9c62c9790e610061044ce3492c4b0a101c08c /src/liblzma
parentFix Size of Header Metadata Block handling. Now (diff)
downloadxz-980f65a9a10160c4d105767871e3002b9aaba3e0.tar.xz
Fix a memory leak in the Subblock encoder.
Diffstat (limited to 'src/liblzma')
-rw-r--r--src/liblzma/subblock/subblock_encoder.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/liblzma/subblock/subblock_encoder.c b/src/liblzma/subblock/subblock_encoder.c
index 6fc420b5..a8aedbd7 100644
--- a/src/liblzma/subblock/subblock_encoder.c
+++ b/src/liblzma/subblock/subblock_encoder.c
@@ -916,6 +916,7 @@ subblock_encoder_end(lzma_coder *coder, lzma_allocator *allocator)
lzma_next_coder_end(&coder->subfilter.subcoder, allocator);
lzma_free(coder->subblock.data, allocator);
lzma_free(coder->subfilter.flags, allocator);
+ lzma_free(coder, allocator);
return;
}