mbox series

[libgpiod,0/3] dbus: client: fix memory leaks and errors

Message ID 20241007-dbus-memory-fixes-v1-0-0d56d1aa032d@linaro.org
Headers show
Series dbus: client: fix memory leaks and errors | expand

Message

Bartosz Golaszewski Oct. 7, 2024, 7:30 p.m. UTC
The daemon gets good memory leak coverage just by running it through
valgrind and executing the gpiocli test-suite. The client is a bit
trickier to test so there sure will be more fixes coming.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
Bartosz Golaszewski (3):
      dbus: client: notify: fix reference counting
      dbus: client: notify: free chip and line lists at exit
      dbus: client: monitor: free the line list at exit

 dbus/client/monitor.c | 1 +
 dbus/client/notify.c  | 6 ++++--
 2 files changed, 5 insertions(+), 2 deletions(-)
---
base-commit: 0e4198b9eef1eeedf8cf12e970b36d4e50a1da48
change-id: 20241007-dbus-memory-fixes-3c9529124907

Best regards,

Comments

Bartosz Golaszewski Oct. 9, 2024, 7:33 a.m. UTC | #1
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>


On Mon, 07 Oct 2024 21:30:21 +0200, Bartosz Golaszewski wrote:
> The daemon gets good memory leak coverage just by running it through
> valgrind and executing the gpiocli test-suite. The client is a bit
> trickier to test so there sure will be more fixes coming.
> 
> 

Applied, thanks!

[1/3] dbus: client: notify: fix reference counting
      commit: c87847b23b398d0b62185cd8191aaa09113debdb
[2/3] dbus: client: notify: free chip and line lists at exit
      commit: 85471d394bab3c95e7b968c8a3df9a7ff894fce4
[3/3] dbus: client: monitor: free the line list at exit
      commit: 392cae9e4233040e1d1a171552490fa9be7fd6dd

Best regards,