Commit fde40cce authored by Rafaël Carré's avatar Rafaël Carré

Fix #1589 - do not shutdown an uninitialized hal context

Regression was introduced in [3033a3df]
parent 6da0dd6e
......@@ -2562,7 +2562,6 @@ static void InitDeviceValues( vlc_t *p_vlc )
p_connection = dbus_bus_get ( DBUS_BUS_SYSTEM, &error );
if( dbus_error_is_set( &error ) )
{
libhal_ctx_shutdown( ctx, &error );
libhal_ctx_free( ctx );
dbus_error_free( &error );
return;
......
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