]> git.sesse.net Git - vlc/commitdiff
playlist: Assert() locked in playlist_Release().
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 17 Aug 2008 18:25:01 +0000 (20:25 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 17 Aug 2008 18:25:15 +0000 (20:25 +0200)
src/playlist/item.c

index d669f803e00fa2d1df0eb70907fa60a0124f062f..995eccdbe24d7658efa856fd245d6d0d11ebc803 100644 (file)
@@ -208,6 +208,8 @@ playlist_item_t * playlist_ItemNewWithType( playlist_t *p_playlist,
 */
 int playlist_ItemRelease( playlist_item_t *p_item )
 {
+    PL_ASSERT_LOCKED;
+
     /* Surprise, we can't actually do more because we
      * don't do refcounting, or eauivalent.
      * Because item are not only accessed by their id