Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
5d93a7ae
Commit
5d93a7ae
authored
May 16, 2008
by
Rafaël Carré
Browse files
Revert "Detach the children at object destruction"
This reverts commit
e5b3d194
.
parent
e5b3d194
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/misc/objects.c
View file @
5d93a7ae
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment