lib/syslinux_parse: Fix memory leak.
Found by: Coveriy scan.
This commit is contained in:
parent
aa64393144
commit
ca7c1fd6f3
1 changed files with 1 additions and 0 deletions
|
@ -684,6 +684,7 @@ helptext (const char *line, grub_file_t file, struct syslinux_menu *menu)
|
|||
}
|
||||
|
||||
grub_free (buf);
|
||||
grub_free (help);
|
||||
return grub_errno;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue