[vlc-devel] commit: Fix httpd reference counting (closes: #2614) ( Rémi Denis-Courmont )
git version control
git at videolan.org
Tue Mar 31 21:27:14 CEST 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Mar 31 22:26:45 2009 +0300| [bf04f9a805a069d30bac44a541e76497746756e2] | committer: Rémi Denis-Courmont
Fix httpd reference counting (closes: #2614)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bf04f9a805a069d30bac44a541e76497746756e2
---
src/network/httpd.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/src/network/httpd.c b/src/network/httpd.c
index db027ee..48e18a9 100644
--- a/src/network/httpd.c
+++ b/src/network/httpd.c
@@ -1018,7 +1018,6 @@ httpd_host_t *httpd_TLSHostNew( vlc_object_t *p_this, const char *psz_hostname,
ptrval.p_address = httpd;
libvlc_priv (p_this->p_libvlc)->p_httpd = httpd;
- vlc_object_hold( httpd );
vlc_object_attach( httpd, p_this->p_libvlc );
}
@@ -1127,7 +1126,6 @@ error:
if( httpd->i_host <= 0 )
{
libvlc_priv (httpd->p_libvlc)->p_httpd = NULL;
- vlc_object_release( httpd );
vlc_object_detach( httpd );
vlc_object_release( httpd );
}
@@ -1199,7 +1197,6 @@ void httpd_HostDelete( httpd_host_t *host )
vlc_mutex_destroy( &host->lock );
vlc_object_release( host );
- vlc_object_release( httpd );
if( httpd->i_host <= 0 )
{
msg_Dbg( httpd, "no hosts left, stopping httpd" );
More information about the vlc-devel
mailing list