[vlc-commits] acoustid: remove superfluous checks
Rémi Denis-Courmont
git at videolan.org
Tue Jul 7 22:03:59 CEST 2015
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Jul 7 19:05:16 2015 +0300| [8938474d84d6ec6141523326b6d85c9ae8ec7bcf] | committer: Rémi Denis-Courmont
acoustid: remove superfluous checks
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8938474d84d6ec6141523326b6d85c9ae8ec7bcf
---
modules/misc/webservices/acoustid.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/modules/misc/webservices/acoustid.c b/modules/misc/webservices/acoustid.c
index f6da2fb..d19763d 100644
--- a/modules/misc/webservices/acoustid.c
+++ b/modules/misc/webservices/acoustid.c
@@ -162,10 +162,8 @@ static void cancelDoAcoustIdWebRequest( void *p_arg )
struct webrequest_t *p_request = (struct webrequest_t *) p_arg;
if ( p_request->p_stream )
stream_Delete( p_request->p_stream );
- if ( p_request->psz_url )
- free( p_request->psz_url );
- if ( p_request->p_buffer )
- free( p_request->p_buffer );
+ free( p_request->psz_url );
+ free( p_request->p_buffer );
}
int DoAcoustIdWebRequest( vlc_object_t *p_obj, acoustid_fingerprint_t *p_data )
More information about the vlc-commits
mailing list