From 813cc63a2e269897fabbfc06c35f1e6afa5c43d6 Mon Sep 17 00:00:00 2001 From: David Fuhrmann Date: Fri, 2 Jan 2015 13:47:27 +0100 Subject: [PATCH] macosx: fix crash in outline view data source --- modules/gui/macosx/PLModel.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/gui/macosx/PLModel.m b/modules/gui/macosx/PLModel.m index 41055eebba..5c258156b9 100644 --- a/modules/gui/macosx/PLModel.m +++ b/modules/gui/macosx/PLModel.m @@ -289,7 +289,6 @@ { id o_value = nil; char * psz_value; - playlist_item_t *p_item; input_item_t *p_input = [item input]; @@ -362,7 +361,7 @@ } } else if ([o_identifier isEqualToString:FILESIZE_COLUMN]) { - psz_value = input_item_GetURI(p_item->p_input); + psz_value = input_item_GetURI(p_input); o_value = @""; if (psz_value) { NSURL *url = [NSURL URLWithString:[NSString stringWithUTF8String:psz_value]]; -- 2.39.2