]> git.sesse.net Git - vlc/commitdiff
libvlc_media: Destroy the cond and the mutex.
authorPierre d'Herbemont <pdherbemont@free.fr>
Mon, 22 Feb 2010 18:52:20 +0000 (19:52 +0100)
committerPierre d'Herbemont <pdherbemont@free.fr>
Mon, 22 Feb 2010 18:52:20 +0000 (19:52 +0100)
src/control/media.c

index d9f23fcf8ad97131f31338776df44d17a5bb373b..1e8675b0c37805b60c793fe754d39a15114b4d49 100644 (file)
@@ -408,6 +408,9 @@ void libvlc_media_release( libvlc_media_t *p_md )
     uninstall_input_item_observer( p_md );
     vlc_gc_decref( p_md->p_input_item );
 
+    vlc_cond_destroy( &p_md->parsed_cond );
+    vlc_mutex_destroy( &p_md->parsed_lock );
+
     /* Construct the event */
     libvlc_event_t event;
     event.type = libvlc_MediaFreed;