Commit b33cc0bb authored by Thomas Guillem's avatar Thomas Guillem

lib: media: fix item leak from libvlc_media_new_as_node

parent 1d943253
......@@ -481,6 +481,7 @@ libvlc_media_t * libvlc_media_new_as_node( libvlc_instance_t *p_instance,
}
p_md = libvlc_media_new_from_input_item( p_instance, p_input_item );
input_item_Release( p_input_item );
p_subitems = media_get_subitems( p_md, true );
if( p_subitems == NULL) {
......
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