]> git.sesse.net Git - vlc/commitdiff
libvlc: Don't use input_ItemClean. Anyway when we leak an object there is no use...
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 30 Mar 2008 22:44:25 +0000 (00:44 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 30 Mar 2008 22:45:04 +0000 (00:45 +0200)
src/libvlc-common.c

index a0ba3cd49b2c13f0827ee2e97071fb9cf9b49fe6..d4573c5ade276d4e92d2238e3323315a6a54bd61 100644 (file)
@@ -989,8 +989,7 @@ int libvlc_InternalCleanup( libvlc_int_t *p_libvlc )
     msg_Dbg( p_libvlc, "removing remaining input items" );
     FOREACH_ARRAY( input_item_t *p_del, p_libvlc->input_items )
         msg_Dbg( p_libvlc, "WARNING: %p input item has not been deleted properly", p_del );
-        input_ItemClean( p_del );
-        free( p_del );
+        /* Don't do anything, faulting code should be fixed */
     FOREACH_END();
     ARRAY_RESET( p_libvlc->input_items );