diff options
| author | Masami Hiramatsu <mhiramat@kernel.org> | 2021-09-16 15:23:12 +0900 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-11-21 13:49:08 +0100 |
| commit | dbaa485bc5a1273e7c46a897df5ee62a296207c0 (patch) | |
| tree | de7507c3302400bb30296254bd19630fd2d0a213 /include/uapi/linux/securebits.h | |
| parent | 6bb162d35d74ea88e8886086e57d7941ac83c2b8 (diff) | |
bootconfig: init: Fix memblock leak in xbc_make_cmdline()
commit 1ae43851b18afe861120ebd7c426dc44f06bb2bd upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/uapi/linux/securebits.h')
0 files changed, 0 insertions, 0 deletions
