diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2008-01-23 13:40:45 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2008-01-23 13:40:45 +0200 |
commit | 980f65a9a10160c4d105767871e3002b9aaba3e0 (patch) | |
tree | c0a9c62c9790e610061044ce3492c4b0a101c08c /src | |
parent | Fix Size of Header Metadata Block handling. Now (diff) | |
download | xz-980f65a9a10160c4d105767871e3002b9aaba3e0.tar.xz |
Fix a memory leak in the Subblock encoder.
Diffstat (limited to '')
-rw-r--r-- | src/liblzma/subblock/subblock_encoder.c | 1 |
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; } |