mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-27 17:49:23 +00:00
* grub-core/kern/main.c (grub_set_prefix_and_root): Fix memory leak.
* grub-core/net/drivers/ieee1275/ofnet.c (grub_ieee1275_net_config_real): Likewise.
This commit is contained in:
1 parent
0e7ec82034
commit
f35abd8190
3 files changed
+11
No files matched your search
@@ -165,8 +165,12 @@ grub_set_prefix_and_root (void)
|
||||
grub_free (device);
|
||||
device = new_device;
|
||||
}
|
||||
else
|
||||
grub_free (fwdevice);
|
||||
if (fwpath && !path)
|
||||
path = fwpath;
|
||||
else
|
||||
grub_free (fwpath);
|
||||
if (device)
|
||||
{
|
||||
char *prefix_set;
|
||||
|
||||
Reference in new issue
Block a user