Commit d173264a authored by David Fuhrmann's avatar David Fuhrmann

macosx: fix wrong ref counting in media info

parent f1c6b2db
......@@ -499,10 +499,10 @@ error:
- (void)refresh
{
input_item_t * oldItem = p_item;
if (p_item)
vlc_gc_decref(p_item);
p_item = [(VLCInfo *)[[VLCMain sharedInstance] info] item];
if (oldItem && oldItem != p_item)
vlc_gc_decref(oldItem);
[o_children release];
o_children = nil;
......
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