Files
linux/kernel
Beau Belgrave 0a022b756f tracing/user_events: Fix call print_fmt leak
[ Upstream commit 4bded7af8b ]

If user_event_trace_register() fails within user_event_parse() the
call's print_fmt member is not freed. Add kfree call to fix this.

Link: https://lkml.kernel.org/r/20221123183248.554-1-beaub@linux.microsoft.com

Fixes: aa3b2b4c66 ("user_events: Add print_fmt generation support for basic types")
Signed-off-by: Beau Belgrave <beaub@linux.microsoft.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-12-31 13:32:41 +01:00
..
2022-09-28 09:02:20 +02:00
2022-09-26 19:46:18 -07:00
2022-08-29 19:47:03 -04:00
2022-09-26 10:13:13 -07:00
2022-09-01 16:55:35 +02:00
2022-06-29 13:07:16 +02:00