[vlc-devel] commit: Woops, object leak in previous commits ( Rémi Denis-Courmont )
git version control
git at videolan.org
Thu Sep 24 19:34:04 CEST 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Sep 24 20:33:52 2009 +0300| [802b97fd3f0bd370f4b1f61aa74f96d5704ff69a] | committer: Rémi Denis-Courmont
Woops, object leak in previous commits
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=802b97fd3f0bd370f4b1f61aa74f96d5704ff69a
---
src/misc/objects.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/misc/objects.c b/src/misc/objects.c
index a4fbf36..18f76fc 100644
--- a/src/misc/objects.c
+++ b/src/misc/objects.c
@@ -597,7 +597,8 @@ void __vlc_object_release( vlc_object_t *p_this )
if( b_should_destroy )
{
- if (p_this->p_parent)
+ parent = p_this->p_parent;
+ if (parent)
/* Detach from parent to protect against FIND_CHILDREN */
vlc_object_detach_unlocked (p_this);
More information about the vlc-devel
mailing list