]> git.sesse.net Git - vlc/commitdiff
Fix previous commit.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 17 Aug 2008 18:34:04 +0000 (20:34 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 17 Aug 2008 18:34:04 +0000 (20:34 +0200)
src/playlist/item.c

index 995eccdbe24d7658efa856fd245d6d0d11ebc803..d982632334bebe98c3a5f9515d24ec199332f5b1 100644 (file)
@@ -208,6 +208,8 @@ playlist_item_t * playlist_ItemNewWithType( playlist_t *p_playlist,
 */
 int playlist_ItemRelease( playlist_item_t *p_item )
 {
+    /* For the assert */
+    playlist_t *p_playlist = p_item->p_playlist;
     PL_ASSERT_LOCKED;
 
     /* Surprise, we can't actually do more because we