Commit 9507795a authored by Rafaël Carré's avatar Rafaël Carré

audioscrobbler: fix object leak in error path

(cherry picked from commit ae3390dc8dc90eab07ef8fff8218939f01aafb60)
Signed-off-by: default avatarRafaël Carré <rafael.carre@gmail.com>
parent 7bacf54f
...@@ -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