]> git.sesse.net Git - vlc/commitdiff
control/media_list.c: Don't forget to destroy the mutex.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Thu, 11 Oct 2007 13:26:23 +0000 (13:26 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Thu, 11 Oct 2007 13:26:23 +0000 (13:26 +0000)
src/control/media_list.c

index b2e700a427817006220520056edfd559ce52953d..c92e9667a8e043bb40964ebd846913467831be26 100644 (file)
@@ -156,6 +156,7 @@ void libvlc_media_list_release( libvlc_media_list_t * p_mlist )
         libvlc_media_descriptor_release( p_md );
     }
 
+    vlc_mutex_destroy( &p_mlist->object_lock );
     vlc_array_clear( &p_mlist->items );
 
     free( p_mlist );