Commit bdf7bd5e authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

control/media_descriptor.c: Don't destroy the input_item, because it might...

control/media_descriptor.c: Don't destroy the input_item, because it might still be needed. We don't have any proper way to do that for now, so we simply leaks it(!).
parent 5181b2a7
...@@ -103,7 +103,10 @@ void libvlc_media_descriptor_destroy( libvlc_media_descriptor_t *p_md ) ...@@ -103,7 +103,10 @@ void libvlc_media_descriptor_destroy( libvlc_media_descriptor_t *p_md )
return; return;
/* XXX: locking */ /* XXX: locking */
input_ItemClean( p_md->p_input_item );
/* XXX: here we don't clean the item, because we can't properly track
* if it is needed by some other object. This is a leak(!). */
/* input_ItemClean( p_md->p_input_item ); */
free( p_md ); free( p_md );
} }
......
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