summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2022-06-17 04:40:08 +0300
committerMiquel Raynal <miquel.raynal@bootlin.com>2022-06-17 09:29:50 +0300
commit278811d5a7b2af4e737c88ab3137d3ccc0732ac1 (patch)
tree6b61244572c2af398960888a62f89190fab7fc5e /tools/perf/scripts/python/export-to-postgresql.py
parent6f6536a0e309177882975222d73984d1b5ad3bdd (diff)
downloadlinux-278811d5a7b2af4e737c88ab3137d3ccc0732ac1.tar.xz
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 <hulkci@huawei.com> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20220617014008.851583-1-yangyingliang@huawei.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions