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:
parent
99e12af4e2
commit
980f65a9a1
1 changed files with 1 additions and 0 deletions
|
@ -916,6 +916,7 @@ subblock_encoder_end(lzma_coder *coder, lzma_allocator *allocator)
|
||||||
lzma_next_coder_end(&coder->subfilter.subcoder, allocator);
|
lzma_next_coder_end(&coder->subfilter.subcoder, allocator);
|
||||||
lzma_free(coder->subblock.data, allocator);
|
lzma_free(coder->subblock.data, allocator);
|
||||||
lzma_free(coder->subfilter.flags, allocator);
|
lzma_free(coder->subfilter.flags, allocator);
|
||||||
|
lzma_free(coder, allocator);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue