Commit 459f98e9 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

libvlc: Don't use input_ItemClean. Anyway when we leak an object there is no...

libvlc: Don't use input_ItemClean. Anyway when we leak an object there is no use to delete it in the end. The mistake has already been done.
parent 51db4b6e
...@@ -989,8 +989,7 @@ int libvlc_InternalCleanup( libvlc_int_t *p_libvlc ) ...@@ -989,8 +989,7 @@ int libvlc_InternalCleanup( libvlc_int_t *p_libvlc )
msg_Dbg( p_libvlc, "removing remaining input items" ); msg_Dbg( p_libvlc, "removing remaining input items" );
FOREACH_ARRAY( input_item_t *p_del, p_libvlc->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 ); msg_Dbg( p_libvlc, "WARNING: %p input item has not been deleted properly", p_del );
input_ItemClean( p_del ); /* Don't do anything, faulting code should be fixed */
free( p_del );
FOREACH_END(); FOREACH_END();
ARRAY_RESET( p_libvlc->input_items ); ARRAY_RESET( p_libvlc->input_items );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment