src/video/cocoa/SDL_cocoawindow.m
changeset 10289 a64e365c1e38
parent 10176 3115d38204aa
child 10339 826c707b4e7d
     1.1 --- a/src/video/cocoa/SDL_cocoawindow.m	Sun Aug 28 18:52:25 2016 -0400
     1.2 +++ b/src/video/cocoa/SDL_cocoawindow.m	Sun Aug 28 19:06:31 2016 -0400
     1.3 @@ -135,7 +135,7 @@
     1.4      NSArray *array = [pasteboard propertyListForType:@"NSFilenamesPboardType"];
     1.5  
     1.6      for (NSString *path in array) {
     1.7 -        NSURL *fileURL = [[NSURL fileURLWithPath:path] autorelease];
     1.8 +        NSURL *fileURL = [NSURL fileURLWithPath:path];
     1.9          NSNumber *isAlias = nil;
    1.10  
    1.11          [fileURL getResourceValue:&isAlias forKey:NSURLIsAliasFileKey error:nil];