aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorYang Yingliang <[email protected]>2022-06-17 09:40:08 +0800
committerMiquel Raynal <[email protected]>2022-06-17 08:29:50 +0200
commit278811d5a7b2af4e737c88ab3137d3ccc0732ac1 (patch)
tree6b61244572c2af398960888a62f89190fab7fc5e /lib/memory-notifier-error-inject.c
parent6f6536a0e309177882975222d73984d1b5ad3bdd (diff)
mtd: parsers: scpart: add missing of_node_put() in scpart_parse()
of_get_child_by_name() will increase the refcount of 'ofpart_node', so add of_node_put() after using it to avoid refcount leak. Fixes: 9b78ef0c7997 ("mtd: parsers: add support for Sercomm partitions") Reported-by: Hulk Robot <[email protected]> Signed-off-by: Yang Yingliang <[email protected]> Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions