Commit 5d93a7ae authored by Rafaël Carré's avatar Rafaël Carré

Revert "Detach the children at object destruction"

This reverts commit e5b3d194.
parent e5b3d194
...@@ -872,7 +872,7 @@ void __vlc_object_release( vlc_object_t *p_this ) ...@@ -872,7 +872,7 @@ void __vlc_object_release( vlc_object_t *p_this )
vlc_object_detach_unlocked (p_this); vlc_object_detach_unlocked (p_this);
/* Detach from children to protect against FIND_PARENT */ /* Detach from children to protect against FIND_PARENT */
for (int i = 0; i < p_this->i_children; i++) for (int i = 0; i < p_this->i_children; i++)
vlc_object_detach_unlocked( p_this->pp_children[i] ); p_this->pp_children[i]->p_parent = NULL;
vlc_mutex_unlock( &structure_lock ); vlc_mutex_unlock( &structure_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