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 the Subblock encoder.

This commit is contained in:
Lasse Collin 2008-01-23 13:40:45 +02:00
parent 99e12af4e2
commit 980f65a9a1

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