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

audioscrobbler: fix object leak in error path

parent f0c12397
...@@ -940,7 +940,10 @@ static int ReadMetaData( intf_thread_t *p_this ) ...@@ -940,7 +940,10 @@ static int ReadMetaData( intf_thread_t *p_this )
p_item = input_GetItem( p_input ); p_item = input_GetItem( p_input );
if( !p_item ) if( !p_item )
{
vlc_object_release( p_input );
return VLC_SUCCESS; return VLC_SUCCESS;
}
char *psz_meta; char *psz_meta;
#define ALLOC_ITEM_META( a, b ) \ #define ALLOC_ITEM_META( a, b ) \
......
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