mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
Fix a memory leak in metadata_decoder.c.
This commit is contained in:
parent
4d8cdbdab4
commit
58b78ab20c
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue