From 58b78ab20c1bcced45cf71ae6684868fc90b4b81 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Wed, 23 Jan 2008 13:15:55 +0200 Subject: [PATCH] Fix a memory leak in metadata_decoder.c. --- src/liblzma/common/metadata_decoder.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/liblzma/common/metadata_decoder.c b/src/liblzma/common/metadata_decoder.c index f2ac6c1..5016af6 100644 --- a/src/liblzma/common/metadata_decoder.c +++ b/src/liblzma/common/metadata_decoder.c @@ -484,6 +484,7 @@ metadata_decode(lzma_coder *coder, lzma_allocator *allocator, static void metadata_decoder_end(lzma_coder *coder, lzma_allocator *allocator) { + lzma_next_coder_end(&coder->block_decoder, allocator); lzma_free(coder, allocator); return; } -- 2.7.4