aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorNishka Dasgupta <[email protected]>2019-08-15 11:30:14 +0530
committerJens Axboe <[email protected]>2019-09-19 12:21:44 -0600
commitd7f76f36a8b4dc8eff0c22819e4a5d55b0dee62a (patch)
treee2d5fba6e85021f13d3c9ff8aa44101227512344 /scripts/gdb/linux/lists.py
parent8454d68563d400fa09b63dc636361b6702ceb8af (diff)
ata: libahci_platform: Add of_node_put() before loop exit
Each iteration of for_each_child_of_node puts the previous node, but in the case of a goto from the middle of the loop, there is no put, thus causing a memory leak. Add an of_node_put before three such goto statements. Issue found with Coccinelle. Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Nishka Dasgupta <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions