[vlc-devel] commit: libvlc_media: Destroy the cond and the mutex. (Pierre d'Herbemont )

git version control git at videolan.org
Mon Feb 22 20:07:26 CET 2010


vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Mon Feb 22 19:52:20 2010 +0100| [b0da3bf1991ccd2996f5197d1256fddde1add308] | committer: Pierre d'Herbemont 

libvlc_media: Destroy the cond and the mutex.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b0da3bf1991ccd2996f5197d1256fddde1add308
---

 src/control/media.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/control/media.c b/src/control/media.c
index d9f23fc..1e8675b 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;




More information about the vlc-devel mailing list