Commit b3de39d4 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

NULLify p_playlist when the playlist is gone

parent 175310ff
......@@ -176,6 +176,9 @@ static void playlist_Destructor( vlc_object_t * p_this )
if( p_playlist->p_fetcher )
vlc_object_release( p_playlist->p_fetcher );
#ifndef NDEBUG
p_this->p_libvlc->p_playlist = NULL; /* pl_Yield() will fail */
#endif
}
/* Destroy remaining objects */
......
Supports Markdown
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