Re: [systemd-devel] [PATCH] libudev: fix memleak when enumerating childs

2013-09-04 Thread Kay Sievers
On Wed, Sep 4, 2013 at 12:36 PM, David Herrmann wrote: > We need to free udev-devices again if they don't match. Funny that no-one > noticed it yet since valgrind is quite verbose about it. > Fix it and free non-matching devices. Applied. Thanks, Kay _

[systemd-devel] [PATCH] libudev: fix memleak when enumerating childs

2013-09-04 Thread David Herrmann
We need to free udev-devices again if they don't match. Funny that no-one noticed it yet since valgrind is quite verbose about it. Fix it and free non-matching devices. --- src/libudev/libudev-enumerate.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/libude