Commit 802b97fd authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Woops, object leak in previous commits

parent 67a1b3e1
......@@ -597,7 +597,8 @@ void __vlc_object_release( vlc_object_t *p_this )
if( b_should_destroy )
{
if (p_this->p_parent)
parent = p_this->p_parent;
if (parent)
/* Detach from parent to protect against FIND_CHILDREN */
vlc_object_detach_unlocked (p_this);
......
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