[vlc-devel] commit: playlist: Assert() locked in playlist_Release(). (Pierre d' Herbemont )
git version control
git at videolan.org
Sun Aug 17 20:22:45 CEST 2008
vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sun Aug 17 20:25:01 2008 +0200| [b8afab308f77966cf2e04267dd64066a481f3246] | committer: Pierre d'Herbemont
playlist: Assert() locked in playlist_Release().
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b8afab308f77966cf2e04267dd64066a481f3246
---
src/playlist/item.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/playlist/item.c b/src/playlist/item.c
index d669f80..995eccd 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
More information about the vlc-devel
mailing list