summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorIoana Ciornei <ioana.ciornei@nxp.com>2025-09-22 17:24:21 +0300
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2025-09-22 16:35:21 +0200
commit3bd44edd6c55828fd4e11cb0efce5b7160bfa2de (patch)
tree4ce491bf8cf7c56797cbaecbd7d245cee4720e4f /tools/perf/scripts/python/intel-pt-events.py
parentc6ccc4dde17676dfe617b9a37bd9ba19a8fc87ee (diff)
gpio: regmap: fix memory leak of gpio_regmap structure
The gpio_regmap structure is leaked on the error path. Fix this by jumping to the appropriate kfree instead of returning directly. Fixes: db305161880a ("gpio: regmap: Allow ngpio to be read from the property") Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Suggested-by: Michael Walle <mwalle@kernel.org> Reviewed-by: Michael Walle <mwalle@kernel.org> Link: https://lore.kernel.org/r/20250922142427.3310221-7-ioana.ciornei@nxp.com Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions