[vlc-devel] commit: Properly free hal ctx when finished with it. (Jean-Paul Saman )
git version control
git at videolan.org
Wed Apr 16 13:58:03 CEST 2008
vlc | branch: master | Jean-Paul Saman <jean-paul.saman at m2x.nl> | Wed Apr 16 13:48:05 2008 +0200| [03e145636e334c4268c842c2f6e180906c46c566]
Properly free hal ctx when finished with it.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=03e145636e334c4268c842c2f6e180906c46c566
---
src/libvlc-common.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/libvlc-common.c b/src/libvlc-common.c
index 85b94e9..a3bb83b 100644
--- a/src/libvlc-common.c
+++ b/src/libvlc-common.c
@@ -2056,6 +2056,7 @@ static void InitDeviceValues( libvlc_int_t *p_vlc )
#ifdef HAVE_HAL_1
libhal_ctx_shutdown( ctx, NULL );
dbus_connection_unref( p_connection );
+ libhal_ctx_free( ctx );
#else
hal_shutdown( ctx );
#endif
More information about the vlc-devel
mailing list