aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorKamil Duljas <[email protected]>2023-11-16 23:01:03 +0100
committerMark Brown <[email protected]>2023-11-28 14:19:12 +0000
commit8c91ca76f44804868d12aed20ebdbc2f89aa7d60 (patch)
treeac0c2b4fcb536e26ddd04f19b3b9dedf46f99fa3 /tools/perf/scripts/python/task-analyzer.py
parentef858b61945a3f5fa3a158e795abf4b7c6e6739d (diff)
ASoC: SOF: icp3-dtrace: Fix wrong kfree() usage
trace_filter_parse() allocs memory for *out and when -ENOMEM is returned, caller function, dfsentry_trace_filter_write() trying to freed this memory. After this patch, the memory is freed in trace_filter_parse() before -EINVAL returned. In caller function removed kfree(elms) from error label Signed-off-by: Kamil Duljas <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions