Commit e6b61347 authored by Carola Nitz's avatar Carola Nitz Committed by Felix Paul Kühne

MLLabel: memoryleak fix

Signed-off-by: Felix Paul Kühne's avatarFelix Paul Kühne <fkuehne@videolan.org>
parent 0b6dfeac
......@@ -58,7 +58,9 @@
[[NSSortDescriptor alloc] initWithKey:@"folderTrackNumber"
ascending:YES
selector:@selector(compare:)];
return [[folderItems sortedArrayUsingDescriptors:@[folderItemDescriptor]] retain];
NSArray *items = [folderItems sortedArrayUsingDescriptors:@[folderItemDescriptor]];
[folderItemDescriptor release];
return items;
}
@end
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