Commit 4ec082c0 authored by Rafaël Carré's avatar Rafaël Carré

Fix a very unlikely memleak

parent 6120e3c4
......@@ -1998,6 +1998,7 @@ 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_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