Files
linux/drivers/ata
Nishka Dasgupta d7f76f36a8 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]>
2019-09-19 12:21:44 -06:00
..
2019-02-08 06:32:01 -07:00