httpd: dead code
authorRémi Denis-Courmont <remi@remlab.net>
Fri, 22 Aug 2014 21:20:02 +0000 (00:20 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Fri, 22 Aug 2014 21:20:02 +0000 (00:20 +0300)
src/network/httpd.c

index aa25c74..8039ea0 100644 (file)
@@ -891,10 +891,6 @@ httpd_host_t *vlc_https_HostNew(vlc_object_t *obj)
     free(cert);
 
     return httpd_HostCreate(obj, "http-host", "https-port", tls);
-
-error:
-    vlc_tls_Delete(tls);
-    return NULL;
 }
 
 httpd_host_t *vlc_rtsp_HostNew(vlc_object_t *p_this)