]> git.sesse.net Git - vlc/blobdiff - modules/control/rc.c
intf_Destroy(): use vlc_object_release() and a destructor instead
[vlc] / modules / control / rc.c
index 3bfd0a62babd4ec032cae6b50ce336e9f4a1e647..05aa08a37f87a656656499d58ff8752993e65150 100644 (file)
@@ -1543,7 +1543,7 @@ static int Intf( vlc_object_t *p_this, char const *psz_cmd,
         if( intf_RunThread( p_newintf ) )
         {
             vlc_object_detach( p_newintf );
-            intf_Destroy( p_newintf );
+            vlc_object_release( p_newintf );
         }
     }