mirror of
https://git.proxmox.com/git/grub2
synced 2025-07-27 02:25:55 +00:00
efidisk: fix memory leak
Found by: Coverity scan. CID: 96644
This commit is contained in:
parent
6c35ce72ba
commit
e9d71db53a
@ -85,6 +85,12 @@ make_devices (void)
|
||||
{
|
||||
/* Uggh. */
|
||||
grub_free (handles);
|
||||
while (devices)
|
||||
{
|
||||
d = devices->next;
|
||||
grub_free (devices);
|
||||
devices = d;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user