Commit 6ada759b authored by Pierre's avatar Pierre

libvlc: Fix a leak in media_discoverer.

parent 0ab93742
......@@ -100,6 +100,8 @@ static void services_discovery_item_added( const vlc_event_t * p_event,
libvlc_media_list_lock( p_mlist );
_libvlc_media_list_add_media( p_mlist, p_md, NULL );
libvlc_media_list_unlock( p_mlist );
libvlc_media_release( 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