Commit 2444c425 authored by Damien Fouilleul's avatar Damien Fouilleul

libvlc.c: fixed object leak (playlist)

parent a289e324
......@@ -1339,6 +1339,7 @@ vlc_bool_t VLC_IsPlaying( int i_object )
if( !p_playlist->p_input )
{
if( i_object ) vlc_object_release( p_vlc );
vlc_object_release( p_playlist );
return VLC_ENOOBJ;
}
var_Get( p_playlist->p_input, "state", &val );
......
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