diff options
author | 2025-04-12 13:15:31 +0300 | |
---|---|---|
committer | 2025-04-14 22:25:20 +0200 | |
commit | d945ff52642d98eb6fa191f88a9cfde729129395 (patch) | |
tree | 49102cdbff4a82edd121603e43d585a7925fb269 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | gpio: aggregator: Fix error code in gpio_aggregator_activate() (diff) | |
download | wireguard-linux-d945ff52642d98eb6fa191f88a9cfde729129395.tar.xz wireguard-linux-d945ff52642d98eb6fa191f88a9cfde729129395.zip |
gpio: aggregator: Fix leak in gpio_aggregator_parse()
Call gpio_aggregator_free_lines() before returning on this error path.
Fixes: 83c8e3df642f ("gpio: aggregator: expose aggregator created via legacy sysfs to configfs")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Acked-by: Koichiro Den <koichiro.den@canonical.com>
Link: https://lore.kernel.org/r/e023bfe52509ce1bef6209ec7c47e99279c551dd.1744452787.git.dan.carpenter@linaro.org
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions