1
0
Fork 0
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:
Lasse Collin 2008-01-23 13:15:55 +02:00
parent 4d8cdbdab4
commit 58b78ab20c

View file

@ -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;
}