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:
parent
343dad410e
commit
dbbac5a04c
2 changed files with 5 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue