Commit 323d54dc authored by Clément Stenac's avatar Clément Stenac

Fix a corner case

parent 207162df
......@@ -343,7 +343,11 @@ static void QueueMsg( vlc_object_t *p_this, int i_queue_id, int i_type,
}
}
if( p_queue == NULL ) return;
if( p_queue == NULL )
{
vlc_mutex_unlock( &p_bank->lock );
return;
}
vlc_mutex_lock( &p_queue->lock );
......
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