[vlc-devel] [PATCH] access/satip: removal of unnecessary if

Filip Roséen filip at videolabs.io
Mon Jul 18 17:52:31 CEST 2016


---
 modules/access/satip.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/access/satip.c b/modules/access/satip.c
index 6596fa4..6daf683 100644
--- a/modules/access/satip.c
+++ b/modules/access/satip.c
@@ -747,8 +747,7 @@ static int satip_open(access_t *access) {
     return VLC_SUCCESS;
 
 error:
-    if (psz_lower_url)
-        free(psz_lower_url);
+    free(psz_lower_url);
 
     vlc_UrlClean(&url);
     satip_close(access);
-- 
2.9.0



More information about the vlc-devel mailing list