syslinux_parse: fix memory leak.
Found by: Coverity scan.
This commit is contained in:
parent
1a4e47879c
commit
2efab86d5a
1 changed files with 2 additions and 0 deletions
|
@ -922,6 +922,8 @@ write_entry (struct output_buffer *outbuf,
|
|||
|
||||
print_string ("\n");
|
||||
}
|
||||
if (ptr && *ptr)
|
||||
grub_free (cmdline);
|
||||
}
|
||||
break;
|
||||
case KERNEL_CHAINLOADER:
|
||||
|
|
Loading…
Reference in a new issue