libvlc: Fix event manager leak in media_discoverer
authorJoseph Tulou <brezhoneg1@yahoo.fr>
Sat, 6 Dec 2008 19:41:39 +0000 (20:41 +0100)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Mon, 8 Dec 2008 16:41:17 +0000 (18:41 +0200)
Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
src/control/media_discoverer.c

index a00ba76..c9236f7 100644 (file)
@@ -236,6 +236,7 @@ libvlc_media_discoverer_release( libvlc_media_discoverer_t * p_mdis )
     free( all_keys );
 
     vlc_dictionary_clear( &p_mdis->catname_to_submedialist, NULL, NULL );
+    libvlc_event_manager_release( p_mdis->p_event_manager );
 
     free( p_mdis );
 }