diff --git a/modules/gui/macosx/playlist.m b/modules/gui/macosx/playlist.m index f9e6e8efd6..30daeb0dfb 100644 --- a/modules/gui/macosx/playlist.m +++ b/modules/gui/macosx/playlist.m @@ -217,9 +217,9 @@ if( p_item ) i_return = p_item->i_children; } - vlc_object_release( p_playlist ); + pl_Release( VLCIntf ); - return (i_return > 0); + return (i_return >= 0); } /* retrieve the string values for the cells */