[vlc-devel] commit: Fix #1589 - do not shutdown an uninitialized hal context ( Rafaël Carré )

git version control git at videolan.org
Sun May 25 20:40:17 CEST 2008


vlc | branch: 0.8.6-bugfix | Rafaël Carré <funman at videolan.org> | Sun May 25 20:41:40 2008 +0200| [fde40cced2587b9049da1c8d79657813b78eca0a]

Fix #1589 - do not shutdown an uninitialized hal context

Regression was introduced in [3033a3df273abe36600523dcb1be98e686b666b5]

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fde40cced2587b9049da1c8d79657813b78eca0a
---

 src/libvlc.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/libvlc.c b/src/libvlc.c
index 5290ac8..6d4f98a 100644
--- a/src/libvlc.c
+++ b/src/libvlc.c
@@ -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;




More information about the vlc-devel mailing list