Commit 95d8b1b8 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

fingerprinter: remove useless checks

parent acf5a05a
...@@ -343,7 +343,6 @@ static void cancelRun( void * p_arg ) ...@@ -343,7 +343,6 @@ static void cancelRun( void * p_arg )
fingerprinter_sys_t *p_sys = ( fingerprinter_sys_t * ) p_arg; fingerprinter_sys_t *p_sys = ( fingerprinter_sys_t * ) p_arg;
if ( vlc_array_count( p_sys->processing.queue ) ) if ( vlc_array_count( p_sys->processing.queue ) )
vlc_array_clear( p_sys->processing.queue ); vlc_array_clear( p_sys->processing.queue );
if ( p_sys->psz_uri )
free( p_sys->psz_uri ); free( p_sys->psz_uri );
} }
...@@ -354,7 +353,6 @@ static void clearPrint( void * p_arg ) ...@@ -354,7 +353,6 @@ static void clearPrint( void * p_arg )
free_acoustid_result_t( &acoustid_print->results.p_results[j] ); free_acoustid_result_t( &acoustid_print->results.p_results[j] );
if ( acoustid_print->results.count ) if ( acoustid_print->results.count )
free( acoustid_print->results.p_results ); free( acoustid_print->results.p_results );
if ( acoustid_print->psz_fingerprint )
free( acoustid_print->psz_fingerprint ); free( acoustid_print->psz_fingerprint );
} }
......
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