aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorNavid Emamdoost <[email protected]>2019-10-27 14:48:47 -0500
committerMark Brown <[email protected]>2019-10-28 13:10:23 +0000
commitc0a333d842ef67ac04adc72ff79dc1ccc3dca4ed (patch)
treee79d22b3d9abd8c2dc021537fa59d2ac1d8462be /tools/perf/util/trace-event-scripting.c
parentf792bd173a6fd51d1a4dde04263085ce67486aa3 (diff)
ASoC: SOF: Fix memory leak in sof_dfsentry_write
In the implementation of sof_dfsentry_write() memory allocated for string is leaked in case of an error. Go to error handling path if the d_name.name is not valid. Fixes: 091c12e1f50c ("ASoC: SOF: debug: add new debugfs entries for IPC flood test") Signed-off-by: Navid Emamdoost <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions