]> git.sesse.net Git - vlc/blobdiff - src/network/httpd.c
Attach httpd hosts to the main httpd object.
[vlc] / src / network / httpd.c
index 39835a20c3620a4e8f2bb7c6052b6a52adf8578d..1fec831e1e8b02fc8b696fbeaf5cb899eb96c57c 100644 (file)
@@ -1079,6 +1079,8 @@ httpd_host_t *httpd_TLSHostNew( vlc_object_t *p_this, const char *psz_hostname,
     vlc_cond_init( &host->wait );
     host->i_ref = 1;
 
+    vlc_object_attach( host, p_this );
+
     host->fds = net_ListenTCP( p_this, psz_host, i_port );
     if( host->fds == NULL )
     {