1
0
mirror of https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git synced 2026-10-24 00:48:53 +03:00
Files
libgpiod/tools
Bartosz Golaszewski 93e1f599b5 tools: gpioinfo: use correct function to free the resolver
struct line_resolver should be freed with free_line_resolver() while
gpioinfo uses a regular free() resulting in a leak of multiple objects.
This issue is not really harmful as gpioinfo exits right after that but
fix it for consistency.

Fixes: 8ffb648928 ("tools: line name focussed rework")
Reported-by: 4fqr <4fqr@proton.me>
Tested-by: Vincent Fazio <vfazio@xes-inc.com>
Reviewed-by: Vincent Fazio <vfazio@xes-inc.com>
Link: https://patch.msgid.link/20260407-treewide-fixes-v1-13-66c9744a56a3@oss.qualcomm.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
2026-04-09 09:34:15 +02:00
..
2022-11-21 21:07:45 +01:00
2024-04-24 09:55:36 +02:00
2024-04-24 09:55:36 +02:00
2024-04-24 09:55:36 +02:00