Fix a memory leak in the Subblock encoder.

This commit is contained in:
Lasse Collin 2008-01-23 13:40:45 +02:00
parent 99e12af4e2
commit 980f65a9a1
1 changed files with 1 additions and 0 deletions

View File

@ -916,6 +916,7 @@ subblock_encoder_end(lzma_coder *coder, lzma_allocator *allocator)
lzma_next_coder_end(&coder->subfilter.subcoder, allocator);
lzma_free(coder->subblock.data, allocator);
lzma_free(coder->subfilter.flags, allocator);
lzma_free(coder, allocator);
return;
}