mirror of
https://git.proxmox.com/git/grub2
synced 2025-05-21 07:09:01 +00:00
* grub-core/lib/xzembed/xz_dec_stream.c (xz_dec_end): Fix memory leak.
This commit is contained in:
parent
79c4eeb919
commit
dd521a4afb
@ -1,3 +1,7 @@
|
||||
2010-09-15 Szymon Janc <szymon@janc.net.pl>
|
||||
|
||||
* grub-core/lib/xzembed/xz_dec_stream.c (xz_dec_end): Fix memory leak.
|
||||
|
||||
2010-09-14 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
Fix incorrect echo options handling.
|
||||
|
@ -853,6 +853,10 @@ void xz_dec_end(struct xz_dec *s)
|
||||
{
|
||||
if (s != NULL) {
|
||||
xz_dec_lzma2_end(s->lzma2);
|
||||
kfree(s->index.hash.crc32_context);
|
||||
kfree(s->block.hash.crc32_context);
|
||||
kfree(s->crc32_context);
|
||||
|
||||
#ifdef XZ_DEC_BCJ
|
||||
xz_dec_bcj_end(s->bcj);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user