diff --git a/src/playlist/item.c b/src/playlist/item.c index d669f803e00fa2d1df0eb70907fa60a0124f062f..995eccdbe24d7658efa856fd245d6d0d11ebc803 100644 --- a/src/playlist/item.c +++ b/src/playlist/item.c @@ -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