Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit cf363518 authored by Julia Lawall's avatar Julia Lawall Committed by David Woodhouse
Browse files

mtd: mpc5121_nfc: fix memory leak on error path



Add a call to of_node_put in the error handling code following a call to
of_find_compatible_node.

Signed-off-by: default avatarJulia Lawall <julia@diku.dk>
Acked-by: default avatarWolfram Sang <w.sang@pengutronix.de>
Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 9d8b1043
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment