diff options
author | Miaoqian Lin <[email protected]> | 2021-12-09 02:43:17 +0000 |
---|---|---|
committer | Steven Rostedt (VMware) <[email protected]> | 2021-12-09 13:03:05 -0500 |
commit | c24be24aed405d64ebcf04526614c13b2adfb1d2 (patch) | |
tree | e7e93e4376865ae7b91c59ed2e0cd25a431bb7b3 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | e1067a07cfbc5a36abad3752fafe4c79e06db1bb (diff) |
tracing: Fix possible memory leak in __create_synth_event() error path
There's error paths in __create_synth_event() after the argv is allocated
that fail to free it. Add a jump to free it when necessary.
Link: https://lkml.kernel.org/r/[email protected]
Suggested-by: Steven Rostedt (VMware) <[email protected]>
Signed-off-by: Miaoqian Lin <[email protected]>
[ Fixed up the patch and change log ]
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions