diff options
author | 2022-11-15 09:44:45 +0800 | |
---|---|---|
committer | 2022-11-22 18:09:50 -0500 | |
commit | ccc6e5900745a60073e4967f04b618cdd92b63d6 (patch) | |
tree | 3e48612d0fef0ff4bb8bb712f5a4dc188c4b437c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tracing/hist: add in missing * in comment blocks (diff) | |
download | wireguard-linux-ccc6e5900745a60073e4967f04b618cdd92b63d6.tar.xz wireguard-linux-ccc6e5900745a60073e4967f04b618cdd92b63d6.zip |
tracing/user_events: Fix memory leak in user_event_create()
Before current_user_event_group(), it has allocated memory and save it
in @name, this should freed before return error.
Link: https://lkml.kernel.org/r/20221115014445.158419-1-xiujianfeng@huawei.com
Fixes: e5d271812e7a ("tracing/user_events: Move pages/locks into groups to prepare for namespaces")
Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com>
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Acked-by: Beau Belgrave <beaub@linux.microsoft.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions