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
1 changed files with 1 additions and 0 deletions

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