diff options
author | Beau Belgrave <[email protected]> | 2022-11-23 10:32:48 -0800 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2022-11-28 15:58:56 -0500 |
commit | 4bded7af8b9af6e97514b0521004f90267905aef (patch) | |
tree | f1564249f61fc9bf3918aab299716715d41831e4 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | bd604f3db49c5b21171abea0414a2020dcbf2646 (diff) |
tracing/user_events: Fix call print_fmt leak
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/[email protected]
Fixes: aa3b2b4c6692 ("user_events: Add print_fmt generation support for basic types")
Signed-off-by: Beau Belgrave <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions