* 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:
parent
0e7ec82034
commit
f35abd8190
3 changed files with 11 additions and 0 deletions
|
@ -193,6 +193,7 @@ grub_ieee1275_net_config_real (const char *devpath, char **device, char **path)
|
|||
+ bootp_response_properties[i].offset),
|
||||
size - bootp_response_properties[i].offset,
|
||||
1, device, path);
|
||||
grub_free (bootp_response);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue