aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorZeng Heng <[email protected]>2024-04-15 18:53:28 +0800
committerLinus Walleij <[email protected]>2024-04-16 15:32:48 +0200
commita0cedbcc8852d6c77b00634b81e41f17f29d9404 (patch)
treec9d9f08034685bb809c28f743bab86fb363c3067 /tools/perf/scripts/python/syscall-counts.py
parentc5d3b64c568a344e998830e0e94a7c04e372f89b (diff)
pinctrl: devicetree: fix refcount leak in pinctrl_dt_to_map()
If we fail to allocate propname buffer, we need to drop the reference count we just took. Because the pinctrl_dt_free_maps() includes the droping operation, here we call it directly. Fixes: 91d5c5060ee2 ("pinctrl: devicetree: fix null pointer dereferencing in pinctrl_dt_to_map") Suggested-by: Dan Carpenter <[email protected]> Signed-off-by: Zeng Heng <[email protected]> Reviewed-by: Dan Carpenter <[email protected]> Message-ID: <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions