Commit 75661a92 authored by Sebastien Escudier's avatar Sebastien Escudier Committed by Rémi Denis-Courmont

Nullify p_httpd to avoid crashes

Signed-off-by: default avatarRémi Denis-Courmont <rdenis@simphalempin.com>
parent e93b437d
...@@ -1120,6 +1120,7 @@ error: ...@@ -1120,6 +1120,7 @@ error:
free( psz_host ); free( psz_host );
if( httpd->i_host <= 0 ) if( httpd->i_host <= 0 )
{ {
libvlc_priv (httpd->p_libvlc)->p_httpd = NULL;
vlc_object_release( httpd ); vlc_object_release( httpd );
vlc_object_detach( httpd ); vlc_object_detach( httpd );
vlc_object_release( httpd ); vlc_object_release( httpd );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment