aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorSudeep Holla <[email protected]>2025-05-28 08:49:41 +0000
committerSudeep Holla <[email protected]>2025-06-09 10:24:43 +0000
commita833d31ad867103ba72a0b73f3606f4ab8601719 (patch)
treeec95f4b1f8161203f30a901224e84b30912002cd /tools/perf/scripts/python/check-perf-trace.py
parentLinux 6.16-rc1 (diff)
downloadkernel-a833d31ad867103ba72a0b73f3606f4ab8601719.tar.gz
kernel-a833d31ad867103ba72a0b73f3606f4ab8601719.zip
firmware: arm_ffa: Fix memory leak by freeing notifier callback node
Commit e0573444edbf ("firmware: arm_ffa: Add interfaces to request notification callbacks") adds support for notifier callbacks by allocating and inserting a callback node into a hashtable during registration of notifiers. However, during unregistration, the code only removes the node from the hashtable without freeing the associated memory, resulting in a memory leak. Resolve the memory leak issue by ensuring the allocated notifier callback node is properly freed after it is removed from the hashtable entry. Fixes: e0573444edbf ("firmware: arm_ffa: Add interfaces to request notification callbacks") Message-Id: <[email protected]> Reviewed-by: Jens Wiklander <[email protected]> Signed-off-by: Sudeep Holla <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions