summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorAlexey Charkov <alchark@flipper.net>2026-09-30 20:10:21 +0400
committerBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>2026-10-01 09:51:59 +0200
commit0d6c5794fd633427f0d4ad8b51d94061295649da (patch)
tree0e1bf21210380c85ac8a73787c24bc4957131c4d /tools/lib/python/kdoc/python_version.py
parent58a00330248154461c52a6f3bd5c01e5b67f9560 (diff)
downloadlinux-next-0d6c5794fd633427f0d4ad8b51d94061295649da.tar.gz
linux-next-0d6c5794fd633427f0d4ad8b51d94061295649da.zip
power: sequencing: pcie-m2: Fix leaking array from of_regulator_bulk_get_all()
of_regulator_bulk_get_all() allocates the consumers array and hands it to the caller, who is expected to free it at an appropriate time. pwrseq-pcie-m2.c never did, leading to a memory leak. Add an explicit kfree() for the consumers array. Cc: stable@vger.kernel.org Fixes: 52e7b5bd62ba ("power: sequencing: Add the Power Sequencing driver for the PCIe M.2 connectors") Signed-off-by: Alexey Charkov <alchark@flipper.net> Link: https://patch.msgid.link/20260930-m2-pwrseq-kfree-v1-1-82678b02c126@flipper.net Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions