mirror of https://git.tukaani.org/xz.git
Fix a memory leak in metadata_decoder.c.
This commit is contained in:
parent
4d8cdbdab4
commit
58b78ab20c
|
@ -484,6 +484,7 @@ metadata_decode(lzma_coder *coder, lzma_allocator *allocator,
|
||||||
static void
|
static void
|
||||||
metadata_decoder_end(lzma_coder *coder, lzma_allocator *allocator)
|
metadata_decoder_end(lzma_coder *coder, lzma_allocator *allocator)
|
||||||
{
|
{
|
||||||
|
lzma_next_coder_end(&coder->block_decoder, allocator);
|
||||||
lzma_free(coder, allocator);
|
lzma_free(coder, allocator);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue