Changeset 5d93a7aeb0a773ea3e4c7962f71743537deeb61a

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

[e5b3d194ffa17dcbf57e69ebf83c3730e8938932]

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

Revert "Detach the children at object destruction"

This reverts commit e5b3d194ffa17dcbf57e69ebf83c3730e8938932.

Files:

Legend:

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

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