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");
|
print_string ("\n");
|
||||||
}
|
}
|
||||||
|
if (ptr && *ptr)
|
||||||
|
grub_free (cmdline);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case KERNEL_CHAINLOADER:
|
case KERNEL_CHAINLOADER:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue