From: Pierre d'Herbemont Date: Mon, 22 Feb 2010 18:52:20 +0000 (+0100) Subject: libvlc_media: Destroy the cond and the mutex. X-Git-Tag: 1.1.0-pre1~739 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=b0da3bf1991ccd2996f5197d1256fddde1add308;p=vlc libvlc_media: Destroy the cond and the mutex. --- 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;