]> git.sesse.net Git - vlc/commitdiff
update: Don't release the object that created this very thread!
authorPierre d'Herbemont <pdherbemont@videolan.org>
Mon, 25 Aug 2008 21:18:59 +0000 (23:18 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Mon, 25 Aug 2008 21:19:09 +0000 (23:19 +0200)
src/misc/update.c

index 96a3948992f7fdfe5aed37b0fe3d8565272d2237..ed3bc7e062ccae696fdca5bd0b1b62b7af2ea880 100644 (file)
@@ -1393,10 +1393,6 @@ void* update_CheckReal( vlc_object_t* p_this )
 
     if( p_uct->pf_callback )
         (p_uct->pf_callback)( p_uct->p_data, b_ret );
-
-    p_uct->p_update->p_check = NULL;
-
-    vlc_object_release( p_uct );
     return NULL;
 }