mirror of
https://git.proxmox.com/git/grub2
synced 2025-08-14 14:42:39 +00:00
hfs: fix memory leak
Found by: Coverity scan. CID: 156531
This commit is contained in:
parent
efc04d65c7
commit
8ab2675ede
@ -1308,6 +1308,7 @@ grub_hfs_open (struct grub_file *file, const char *name)
|
||||
if (grub_hfs_find_dir (data, name, &found, GRUB_FSHELP_REG))
|
||||
{
|
||||
grub_free (data);
|
||||
grub_free (found);
|
||||
grub_dl_unref (my_mod);
|
||||
return grub_errno;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user