[vlc-devel] commit: Nullify p_httpd to avoid crashes (Sebastien Escudier )
git version control
git at videolan.org
Tue Sep 23 21:16:57 CEST 2008
vlc | branch: master | Sebastien Escudier <sebastien-devel at celeos.eu> | Tue Sep 23 11:13:47 2008 +0200| [75661a92d2ddac89a9aa632274fbe38acb6df522] | committer: Rémi Denis-Courmont
Nullify p_httpd to avoid crashes
Signed-off-by: Rémi Denis-Courmont <rdenis at simphalempin.com>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=75661a92d2ddac89a9aa632274fbe38acb6df522
---
src/network/httpd.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/network/httpd.c b/src/network/httpd.c
index 06bd9dc..5f5f377 100644
--- a/src/network/httpd.c
+++ b/src/network/httpd.c
@@ -1120,6 +1120,7 @@ error:
free( psz_host );
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 );
More information about the vlc-devel
mailing list