Commit b8afab30 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

playlist: Assert() locked in playlist_Release().

parent 357d734f
...@@ -208,6 +208,8 @@ playlist_item_t * playlist_ItemNewWithType( playlist_t *p_playlist, ...@@ -208,6 +208,8 @@ playlist_item_t * playlist_ItemNewWithType( playlist_t *p_playlist,
*/ */
int playlist_ItemRelease( playlist_item_t *p_item ) int playlist_ItemRelease( playlist_item_t *p_item )
{ {
PL_ASSERT_LOCKED;
/* Surprise, we can't actually do more because we /* Surprise, we can't actually do more because we
* don't do refcounting, or eauivalent. * don't do refcounting, or eauivalent.
* Because item are not only accessed by their id * Because item are not only accessed by their id
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment