diff options
author | Wei Yongjun <[email protected]> | 2019-07-05 08:16:37 +0000 |
---|---|---|
committer | Mark Brown <[email protected]> | 2019-07-05 17:58:51 +0100 |
commit | b90bab3b1b1b6c56dd6f9d5c960932239f36f6d3 (patch) | |
tree | 394ad5edeffcaec3b36c08b1a2f6384d6190d534 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 1fe08602d1179e7bfb2e805b22e8f57f4916c51e (diff) |
ASoC: SOF: debug: fix possible memory leak in sof_dfsentry_write()
'string' is malloced in sof_dfsentry_write() and should be freed
before leaving from the error handling cases, otherwise it will cause
memory leak.
Fixes: 091c12e1f50c ("ASoC: SOF: debug: add new debugfs entries for IPC flood test")
Signed-off-by: Wei Yongjun <[email protected]>
Reviewed-by: Ranjani Sridharan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions