summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorbui duc phuc <phucduc.bui@gmail.com>2026-06-26 15:29:02 +0700
committerMark Brown <broonie@kernel.org>2026-06-29 19:21:51 +0100
commit4889a8a73f65b8e4feb49ea434b8a41806513574 (patch)
tree16aadcfd17f890066288d109d2ebd87386166ea1 /tools/perf/scripts/python/parallel-perf.py
parent6aaac9f6baa55cbc4c5cd6071dba11928dc15302 (diff)
ASoC: intel: atom: Use __free(kfree) for stream pointer
Declare 'stream' with __free(kfree) so it is automatically freed when leaving scope. This allows direct returns from error paths and removes the explicit kfree(stream) call. Set 'stream' to NULL after ownership has been transferred to runtime->private_data to prevent it from being freed on the success path. This cleanup is a preparation step for upcoming locking changes. Signed-off-by: bui duc phuc <phucduc.bui@gmail.com> Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com> Link: https://patch.msgid.link/20260626082904.32344-4-phucduc.bui@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions