aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2024-08-25 16:14:24 +0200
committerPhilipp Zabel <[email protected]>2024-09-02 11:51:19 +0200
commit5f58a88cc91075be38cec69b7cb70aaa4ba69e8b (patch)
treedcb1db9170eab7a39c48c488eef6933e119f21a9 /tools/perf/util/scripting-engines/trace-event-python.c
parent6bbc0fa234a2ec144a469bd35d8f68e21e69af5a (diff)
reset: berlin: fix OF node leak in probe() error path
Driver is leaking OF node reference on memory allocation failure. Acquire the OF node reference after memory allocation to fix this and keep it simple. Fixes: aed6f3cadc86 ("reset: berlin: convert to a platform driver") Signed-off-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Damien Le Moal <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Philipp Zabel <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions