Commit d9e67666 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 59adec1a
......@@ -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 );
......
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