syslinux_parse: fix memory leak.
Found by: Coverity scan.
This commit is contained in:
parent
1a4e47879c
commit
2efab86d5a
@ -922,6 +922,8 @@ write_entry (struct output_buffer *outbuf,
|
||||
|
||||
print_string ("\n");
|
||||
}
|
||||
if (ptr && *ptr)
|
||||
grub_free (cmdline);
|
||||
}
|
||||
break;
|
||||
case KERNEL_CHAINLOADER:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user