mirror of
https://git.proxmox.com/git/grub2
synced 2025-08-07 08:34:14 +00:00
Fix a memory leak
This commit is contained in:
parent
d1831ca48a
commit
697ffdc55b
@ -725,6 +725,7 @@ grub_net_fs_open (struct grub_file *file_out, const char *name)
|
|||||||
}
|
}
|
||||||
|
|
||||||
grub_memcpy (file_out, bufio, sizeof (struct grub_file));
|
grub_memcpy (file_out, bufio, sizeof (struct grub_file));
|
||||||
|
grub_free (bufio);
|
||||||
return GRUB_ERR_NONE;
|
return GRUB_ERR_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user