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 b2e700a..c92e966 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 );