mirror of
https://git.proxmox.com/git/grub2
synced 2025-08-07 22:50:41 +00:00
* grub-core/fs/fshelp.c (grub_fshelp_find_file): Fix memory leak.
This commit is contained in:
parent
e3282399ad
commit
ddc583571e
@ -1,3 +1,7 @@
|
|||||||
|
2012-05-01 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/fs/fshelp.c (grub_fshelp_find_file): Fix memory leak.
|
||||||
|
|
||||||
2012-05-01 Vladimir Serbinenko <phcoder@gmail.com>
|
2012-05-01 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/kern/emu/hostdisk.c (read_device_map): Reject non-standard
|
* grub-core/kern/emu/hostdisk.c (read_device_map): Reject non-standard
|
||||||
|
@ -136,6 +136,7 @@ grub_fshelp_find_file (const char *path, grub_fshelp_node_t rootnode,
|
|||||||
found = iterate_dir (currnode, iterate);
|
found = iterate_dir (currnode, iterate);
|
||||||
if (! found)
|
if (! found)
|
||||||
{
|
{
|
||||||
|
free_node (currnode);
|
||||||
if (grub_errno)
|
if (grub_errno)
|
||||||
return grub_errno;
|
return grub_errno;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user