mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
grub-core/lib/syslinux_parse.c: do not free array
say->msg is inline array in a structure and should not be freed. CID: 73610
This commit is contained in:
1 parent
343dad410e
commit
dbbac5a04c
2 files changed
+5
-1
No files matched your search
@@ -1351,7 +1351,6 @@ free_menu (struct syslinux_menu *menu)
|
||||
for (say = menu->say; say ; say = nsay)
|
||||
{
|
||||
nsay = say->next;
|
||||
grub_free (say->msg);
|
||||
grub_free (say);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user