git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5b3d19
)
Revert "Detach the children at object destruction"
author
Rafaël Carré
<funman@videolan.org>
Fri, 16 May 2008 12:14:59 +0000
(14:14 +0200)
committer
Rafaël Carré
<funman@videolan.org>
Fri, 16 May 2008 12:14:59 +0000
(14:14 +0200)
This reverts commit
e5b3d194ffa17dcbf57e69ebf83c3730e8938932
.
src/misc/objects.c
patch
|
blob
|
history
diff --git
a/src/misc/objects.c
b/src/misc/objects.c
index
f688643
..
010d64d
100644
(file)
--- a/
src/misc/objects.c
+++ b/
src/misc/objects.c
@@
-872,7
+872,7
@@
void __vlc_object_release( vlc_object_t *p_this )
vlc_object_detach_unlocked (p_this);
/* Detach from children to protect against FIND_PARENT */
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 );