From 980f65a9a10160c4d105767871e3002b9aaba3e0 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Wed, 23 Jan 2008 13:40:45 +0200 Subject: [PATCH] Fix a memory leak in the Subblock encoder. --- src/liblzma/subblock/subblock_encoder.c | 1 + 1 file changed, 1 insertion(+) 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; }