aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorNishka Dasgupta <[email protected]>2019-07-23 10:39:10 +0000
committerMarc Zyngier <[email protected]>2019-07-26 13:27:22 +0000
commit321275f0d8f5939f2a98749fe03ee97ac97e73d0 (patch)
tree06f3adc62b87f1b7e29fcfe2fd1a5fb56a6c4d6a /tools/perf/scripts/python/net_dropmonitor.py
parentirqchip/gic-v3-its: Free unused vpt_page when alloc vpe table fail (diff)
downloadkernel-321275f0d8f5939f2a98749fe03ee97ac97e73d0.tar.gz
kernel-321275f0d8f5939f2a98749fe03ee97ac97e73d0.zip
irqchip/irq-mbigen: Add of_node_put() before return
Each iteration of for_each_child_of_node puts the previous node, but in the case of a return from the middle of the loop, there is no put, thus causing a memory leak. Add an of_node_put before the return in three places. Issue found with Coccinelle. Signed-off-by: Nishka Dasgupta <[email protected]> Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions