Changeset e5b3d194ffa17dcbf57e69ebf83c3730e8938932

Show
Ignore:
Timestamp:
16/05/08 14:03:48 (7 months ago)
Author:
Rafaël Carré <funman@videolan.org>
git-committer:
Rafaël Carré <funman@videolan.org> 1210939428 +0200
git-parent:

[c85f868153145c0bd146067dfb9ac2c405f65921]

git-author:
Rafaël Carré <funman@videolan.org> 1210939428 +0200
Message:

Detach the children at object destruction

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/misc/objects.c

    rc85f868 re5b3d19  
    873873    /* Detach from children to protect against FIND_PARENT */ 
    874874    for (int i = 0; i < p_this->i_children; i++) 
    875         p_this->pp_children[i]->p_parent = NULL
     875        vlc_object_detach_unlocked( p_this->pp_children[i] )
    876876 
    877877    vlc_mutex_unlock( &structure_lock );