aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2008-01-23 13:15:55 +0200
committerLasse Collin <lasse.collin@tukaani.org>2008-01-23 13:15:55 +0200
commit58b78ab20c1bcced45cf71ae6684868fc90b4b81 (patch)
tree938928437f9cdf163e477a5267b65c4d63ee3405
parentFix the fix 863028cb7ad6d8d0455fa69348f56b376d7b908f which (diff)
downloadxz-58b78ab20c1bcced45cf71ae6684868fc90b4b81.tar.xz
Fix a memory leak in metadata_decoder.c.
-rw-r--r--src/liblzma/common/metadata_decoder.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/liblzma/common/metadata_decoder.c b/src/liblzma/common/metadata_decoder.c
index f2ac6c1d..5016af61 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;
}