summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorYuan Chen <chenyuan@kylinos.cn>2025-06-20 09:53:43 +0800
committerLinus Walleij <linus.walleij@linaro.org>2025-06-24 21:17:11 +0200
commit8f6f303551100291bf2c1e1ccc66b758fffb1168 (patch)
tree970a8e15e1d51c9a46d7d6a5408ef352fd286c95 /tools/perf/scripts/python/failed-syscalls-by-pid.py
parente3507c56cbb208d4f160942748c527ef6a528ba1 (diff)
pinctrl: berlin: fix memory leak in berlin_pinctrl_build_state()
In the original implementation, krealloc() failure handling incorrectly assigned the original memory pointer to NULL after kfree(), causing a memory leak when reallocation failed. Fixes: de845036f997 ("pinctrl: berlin: fix error return code of berlin_pinctrl_build_state()") Signed-off-by: Yuan Chen <chenyuan@kylinos.cn> Link: https://lore.kernel.org/20250620015343.21494-1-chenyuan_fl@163.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions