Commit 03e14563 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Properly free hal ctx when finished with it.

parent 305d5235
...@@ -2056,6 +2056,7 @@ static void InitDeviceValues( libvlc_int_t *p_vlc ) ...@@ -2056,6 +2056,7 @@ static void InitDeviceValues( libvlc_int_t *p_vlc )
#ifdef HAVE_HAL_1 #ifdef HAVE_HAL_1
libhal_ctx_shutdown( ctx, NULL ); libhal_ctx_shutdown( ctx, NULL );
dbus_connection_unref( p_connection ); dbus_connection_unref( p_connection );
libhal_ctx_free( ctx );
#else #else
hal_shutdown( ctx ); hal_shutdown( ctx );
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment