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

Fix #1487

Don't use an object after releasing it
parent cd3ea880
......@@ -108,18 +108,17 @@ void InputManager::delInput()
if( p_input )
{
delCallbacks();
vlc_object_release( p_input );
i_old_playing_status = END_S;
i_input_id = 0;
old_name = "";
artUrl = "";
p_input = NULL;
emit positionUpdated( 0.0, 0 ,0 );
emit statusChanged( END_S );
emit nameChanged( "" );
emit artChanged( "" );
emit rateChanged( INPUT_RATE_DEFAULT );
vlc_object_release( p_input );
p_input = NULL;
}
}
......
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