]> git.sesse.net Git - vlc/blobdiff - modules/access/dv.c
misc/objects.c: Don't rely on vlc_object_destroy() to destroy objects, but expects...
[vlc] / modules / access / dv.c
index 3661483c1c6d203adb54bce04682e5355812848e..c16be7e10f2ac543f9e4a314aaa3b01a41a3f516 100644 (file)
@@ -271,7 +271,7 @@ static void Close( vlc_object_t *p_this )
             p_sys->p_ev->pp_last = &p_sys->p_frame;
             vlc_mutex_unlock( &p_sys->p_ev->lock );
         }
-        vlc_object_destroy( p_sys->p_ev );
+        vlc_object_release( p_sys->p_ev );
     }
 
     if( p_sys->p_frame )