summaryrefslogtreecommitdiffstats
path: root/include/vdso/vsyscall.h
diff options
context:
space:
mode:
authorNishka Dasgupta <nishkadg.linux@gmail.com>2019-07-09 22:38:37 +0530
committerMiquel Raynal <miquel.raynal@bootlin.com>2019-07-25 14:21:44 +0200
commit4902e87faf26067d661e2a9285ce93457884da6d (patch)
treeefab587b69e0496f529830ab81bdd6255f51cac1 /include/vdso/vsyscall.h
parentb410f4eb01a1950ed73ae40859d0978b1a924380 (diff)
downloadlinux-4902e87faf26067d661e2a9285ce93457884da6d.tar.gz
linux-4902e87faf26067d661e2a9285ce93457884da6d.tar.bz2
linux-4902e87faf26067d661e2a9285ce93457884da6d.zip
mtd: rawnand: vf610: Add of_node_put() before goto
Each iteration of for_each_available_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. Hence add an of_node_put before the goto. Issue found with Coccinelle. Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com> Reviewed-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'include/vdso/vsyscall.h')
0 files changed, 0 insertions, 0 deletions