Commit 113ee07f authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

macosx: Make sure we don't leak an input.

Should fix the input item leak error when quitting VLC.
parent 491e2b0e
......@@ -1363,6 +1363,10 @@ static VLCMain *_o_sharedMainInstance = nil;
}
vlc_object_release( p_input );
}
else if( p_input )
{
vlc_object_release( p_input );
}
else
{
p_intf->p_sys->i_play_status = END_S;
......
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