Commit e1252db2 authored by Rémi Duraffort's avatar Rémi Duraffort

growl: fix object leak.

parent 8377d828
......@@ -162,7 +162,6 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
p_input = playlist_CurrentInput( (playlist_t*)p_this );
if( !p_input ) return VLC_SUCCESS;
vlc_object_hold( p_input );
char *psz_name = input_item_GetName( input_GetItem( p_input ) );
if( p_input->b_dead || !psz_name )
......
......@@ -124,7 +124,6 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
p_input = playlist_CurrentInput( (playlist_t*)p_this );
if( !p_input ) return VLC_SUCCESS;
vlc_object_hold( p_input );
char *psz_name = input_item_GetName( input_GetItem( p_input ) );
if( p_input->b_dead || !psz_name )
......
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