Commit 7b1b29e0 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

input: Make sure priv->p_sout won't be reused when freed.

parent 891afb44
......@@ -328,7 +328,10 @@ static void Destructor( input_thread_t * p_input )
if( priv->b_sout_keep )
SoutKeep( priv->p_sout );
else
{
sout_DeleteInstance( priv->p_sout );
priv->p_sout = NULL;
}
}
vlc_gc_decref( p_input->p->input.p_item );
......
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