Messages in this thread | | | From | Miquel Raynal <> | Subject | Re: [PATCH] mtd: parsers: ofpart: Fix refcount leak in bcm4908_partitions_fw_offset | Date | Thu, 9 Jun 2022 14:42:40 +0200 |
| |
On Sun, 2022-06-05 at 07:07:23 UTC, Miaoqian Lin wrote: > of_find_node_by_path() returns a node pointer with refcount incremented, > we should use of_node_put() on it when not need anymore. > Add missing of_node_put() to avoid refcount leak. > > Fixes: bb17230c61a6 ("mtd: parsers: ofpart: support BCM4908 fixed partitions") > Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.
Miquel
| |