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

control/media_descriptor.c: Don't forget to release the event manager....

control/media_descriptor.c: Don't forget to release the event manager. (Reported by polo78 on the forum and funman).
parent 3e743741
......@@ -326,6 +326,8 @@ void libvlc_media_descriptor_release( libvlc_media_descriptor_t *p_md )
/* Send the event */
libvlc_event_send( p_md->p_event_manager, &event );
libvlc_event_manager_release( p_md->p_event_manager );
char ** all_keys = vlc_dictionary_all_keys( &p_md->tags );
for( i = 0; all_keys[i]; i++ )
{
......
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