Commit 8938474d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

acoustid: remove superfluous checks

parent 5a5d0717
...@@ -162,10 +162,8 @@ static void cancelDoAcoustIdWebRequest( void *p_arg ) ...@@ -162,10 +162,8 @@ static void cancelDoAcoustIdWebRequest( void *p_arg )
struct webrequest_t *p_request = (struct webrequest_t *) p_arg; struct webrequest_t *p_request = (struct webrequest_t *) p_arg;
if ( p_request->p_stream ) if ( p_request->p_stream )
stream_Delete( p_request->p_stream ); stream_Delete( p_request->p_stream );
if ( p_request->psz_url ) free( p_request->psz_url );
free( p_request->psz_url ); free( p_request->p_buffer );
if ( p_request->p_buffer )
free( p_request->p_buffer );
} }
int DoAcoustIdWebRequest( vlc_object_t *p_obj, acoustid_fingerprint_t *p_data ) int DoAcoustIdWebRequest( vlc_object_t *p_obj, acoustid_fingerprint_t *p_data )
......
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