[PATCH] mtd: parsers: ofpart: fix OF node refcount leak in parse_fixed_partitions()

Markus Elfring Markus.Elfring at web.de
Fri Jan 23 03:50:58 PST 2026


…
> Add of_node_put(ofpart_node) calls on all exit paths when dedicated is
> true to fix the reference count leak.
> 
> This bug was detected by our static analysis tool.

Will any additional background information become more helpful here?

Regards,
Markus



More information about the linux-mtd mailing list