Commit 11d57553 authored by Rafaël Carré's avatar Rafaël Carré

Doesn't unref the D-Bus connection if connection failed

parent 680c1428
......@@ -697,7 +697,7 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc, char *ppsz_argv[] )
}
}
/* we unreference the connection when we've finished with it */
dbus_connection_unref( p_conn );
if( p_conn ) dbus_connection_unref( p_conn );
}
#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