]> git.sesse.net Git - vlc/commitdiff
Doesn't shutdown hal connection if initialisation failed.
authorRafaël Carré <funman@videolan.org>
Wed, 25 Apr 2007 12:38:10 +0000 (12:38 +0000)
committerRafaël Carré <funman@videolan.org>
Wed, 25 Apr 2007 12:38:10 +0000 (12:38 +0000)
(That usually happens when system D-Bus daemon is not running)

src/libvlc-common.c

index 657f9c83fbef4aa4bd079d6751963c48500f1d79..5e02e795c9696961dc3fd58d5267babf2df37489 100644 (file)
@@ -1952,7 +1952,6 @@ static void InitDeviceValues( libvlc_int_t *p_vlc )
     p_connection = dbus_bus_get ( DBUS_BUS_SYSTEM, &error );
     if( dbus_error_is_set( &error ) || !p_connection )
     {
-        libhal_ctx_shutdown( ctx, NULL );
         dbus_error_free( &error );
         return;
     }