[vlc-commits] Remove no-op vlc_object-kill in vlc_object_destroy

Rémi Denis-Courmont git at videolan.org
Wed May 25 20:51:17 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed May 25 21:50:30 2011 +0300| [5ebee8d0f19cba17e4ee0e1b070e34ffa74f2445] | committer: Rémi Denis-Courmont

Remove no-op vlc_object-kill in vlc_object_destroy

If the object has no references left, b_alive is irrelevant.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5ebee8d0f19cba17e4ee0e1b070e34ffa74f2445
---

 src/misc/objects.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/src/misc/objects.c b/src/misc/objects.c
index 270609b..d253984 100644
--- a/src/misc/objects.c
+++ b/src/misc/objects.c
@@ -255,9 +255,6 @@ static void vlc_object_destroy( vlc_object_t *p_this )
 {
     vlc_object_internals_t *p_priv = vlc_internals( p_this );
 
-    /* Send a kill to the object's thread if applicable */
-    vlc_object_kill( p_this );
-
     /* Call the custom "subclass" destructor */
     if( p_priv->pf_destructor )
         p_priv->pf_destructor( p_this );



More information about the vlc-commits mailing list