]> git.sesse.net Git - vlc/blobdiff - modules/codec/cmml/cmml.c
intf_Destroy(): use vlc_object_release() and a destructor instead
[vlc] / modules / codec / cmml / cmml.c
index 373ca4918108980c9cdd3dd408d5cf570adef9cd..ef66d4a821d02fadfff0e08fd751663ece5c6848 100644 (file)
@@ -189,7 +189,7 @@ static void CloseDecoder( vlc_object_t *p_this )
         intf_StopThread( p_intf );
         vlc_object_detach( p_intf );
         vlc_object_release( p_intf );
-        intf_Destroy( p_intf );
+        vlc_object_release( p_intf );
     }
 
     p_sys->p_intf = NULL;