diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2021-09-16 09:23:12 +0300 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2021-10-11 05:27:40 +0300 |
commit | 1ae43851b18afe861120ebd7c426dc44f06bb2bd (patch) | |
tree | beea8a57f22ba8778cd127a446765e0e41692b41 /kernel | |
parent | 6675880fc4b7c5137a2640b0725505c21b1ac525 (diff) | |
download | linux-1ae43851b18afe861120ebd7c426dc44f06bb2bd.tar.xz |
bootconfig: init: Fix memblock leak in xbc_make_cmdline()
Free unused memblock in a error case to fix memblock leak
in xbc_make_cmdline().
Link: https://lkml.kernel.org/r/163177339181.682366.8713781325929549256.stgit@devnote2
Fixes: 51887d03aca1 ("bootconfig: init: Allow admin to use bootconfig for kernel command line")
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions