Files
linux/drivers
Nishka Dasgupta 2ff110bbe9 pinctrl: meson: meson: 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. Hence add an of_node_put before the return.
Issue found with Coccinelle.

Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com>
Link: https://lore.kernel.org/r/20190815060718.3286-1-nishkadg.linux@gmail.com
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2019-08-23 11:48:08 +02:00
..
2019-08-12 08:18:37 -06:00
2019-07-18 09:49:30 +02:00
2019-08-07 14:50:49 -07:00
2019-08-12 10:47:55 +02:00
2019-06-15 13:43:06 -07:00
2019-06-12 14:23:50 +02:00
2019-06-12 14:23:50 +02:00