[vlc-devel] commit: hal: fix memleak. ( Rémi Duraffort )
git version control
git at videolan.org
Wed Mar 25 15:57:09 CET 2009
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Wed Mar 25 15:56:51 2009 +0100| [7f1ae44ecb705b5194881fa7f648ec3c41c7de5d] | committer: Rémi Duraffort
hal: fix memleak.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7f1ae44ecb705b5194881fa7f648ec3c41c7de5d
---
modules/services_discovery/hal.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/services_discovery/hal.c b/modules/services_discovery/hal.c
index 2765b00..11ff228 100644
--- a/modules/services_discovery/hal.c
+++ b/modules/services_discovery/hal.c
@@ -315,6 +315,7 @@ static void *Run( void *data )
ParseDevice( p_sd, devices[ i ] );
libhal_free_string( devices[ i ] );
}
+ free( devices );
}
/* FIXME: Totally lame. There are DBus watch functions to do this properly.
More information about the vlc-devel
mailing list