lib/syslinux_parse: Fix memory leak.
Found by: Coveriy scan.
This commit is contained in:
parent
aa64393144
commit
ca7c1fd6f3
@ -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…
x
Reference in New Issue
Block a user