mirror of
https://git.proxmox.com/git/grub2
synced 2025-07-19 15:20:29 +00:00
zfs: memory leak
Found by Coverity scan. CID: 96603
This commit is contained in:
parent
5d0ee3d7a1
commit
15ba6a40be
@ -3668,6 +3668,8 @@ zfs_mount (grub_device_t dev)
|
|||||||
data) != 0)
|
data) != 0)
|
||||||
{
|
{
|
||||||
grub_error (GRUB_ERR_BAD_FS, "Unsupported features in pool");
|
grub_error (GRUB_ERR_BAD_FS, "Unsupported features in pool");
|
||||||
|
grub_free (osp);
|
||||||
|
zfs_unmount (data);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user