]> git.ipfire.org Git - thirdparty/grub.git/commit
fs/zfs: Fix a number of memory leaks in ZFS code
authorStuart Hayes <stuart.w.hayes@gmail.com>
Mon, 10 Mar 2025 16:23:59 +0000 (11:23 -0500)
committerDaniel Kiper <daniel.kiper@oracle.com>
Wed, 26 Mar 2025 13:34:44 +0000 (14:34 +0100)
commitb66c6f9182fce873d906bc9871c649af38e35b53
tree60505cf89f0f1d50e39a30df59f72c49bb1f0ecb
parent1d59f39b5f1b407560ebf4d8f9bd45054a2c297c
fs/zfs: Fix a number of memory leaks in ZFS code

Without this fix the GRUB failed to boot linux with "out of memory" after
trying to run a "search --fs-uuid..." on a system that has 7 ZFS pools
across about 80 drives.

Signed-off-by: Stuart Hayes <stuart.w.hayes@gmail.com>
Reviewed-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/fs/zfs/zfs.c
grub-core/fs/zfs/zfsinfo.c