]> git.sesse.net Git - vlc/commitdiff
Properly free hal ctx when finished with it.
authorJean-Paul Saman <jean-paul.saman@m2x.nl>
Wed, 16 Apr 2008 11:48:05 +0000 (13:48 +0200)
committerJean-Paul Saman <jean-paul.saman@m2x.nl>
Wed, 16 Apr 2008 11:58:56 +0000 (13:58 +0200)
src/libvlc-common.c

index 85b94e9f6e811fb858aa6cf5418cd10f31e5939e..a3bb83b8d428cd7305562a0c2bc3da803664b2db 100644 (file)
@@ -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