From b0da3bf1991ccd2996f5197d1256fddde1add308 Mon Sep 17 00:00:00 2001 From: Pierre d'Herbemont Date: Mon, 22 Feb 2010 19:52:20 +0100 Subject: [PATCH] libvlc_media: Destroy the cond and the mutex. --- src/control/media.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/control/media.c b/src/control/media.c index d9f23fcf8a..1e8675b0c3 100644 --- a/src/control/media.c +++ b/src/control/media.c @@ -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; -- 2.39.2