mirror of
https://git.proxmox.com/git/grub2
synced 2025-07-20 11:09:45 +00:00
linux/blocklist: Fix memory leak.
Found by: Coverity scan.
This commit is contained in:
parent
c14dff3ca7
commit
5adc6d76d3
@ -130,6 +130,7 @@ grub_install_get_blocklist (grub_device_t root_dev,
|
||||
& (GRUB_DISK_SECTOR_SIZE - 1),
|
||||
fie2->fm_extents[i].fe_length, hook_data);
|
||||
}
|
||||
free (fie2);
|
||||
}
|
||||
close (fd);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user