diff options
author | Yunfeng Ye <yeyunfeng@huawei.com> | 2020-05-07 17:23:36 +0800 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2020-05-07 14:18:27 -0400 |
commit | 8842604446d1f005abcbf8c63c12eabdb5695094 (patch) | |
tree | 90c8adbc1fa5d018bf2a99aebb4ad941856c22d8 /lib/ratelimit.c | |
parent | 192b7993b3ff92b62b687e940e5e88fa0218d764 (diff) | |
download | linux-stable-8842604446d1f005abcbf8c63c12eabdb5695094.tar.gz linux-stable-8842604446d1f005abcbf8c63c12eabdb5695094.tar.bz2 linux-stable-8842604446d1f005abcbf8c63c12eabdb5695094.zip |
tools/bootconfig: Fix resource leak in apply_xbc()
Fix the @data and @fd allocations that are leaked in the error path of
apply_xbc().
Link: http://lkml.kernel.org/r/583a49c9-c27a-931d-e6c2-6f63a4b18bea@huawei.com
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Yunfeng Ye <yeyunfeng@huawei.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'lib/ratelimit.c')
0 files changed, 0 insertions, 0 deletions