mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
fix return value to be autoreleased
This commit is contained in:
parent
a4b661d633
commit
c9af996377
1 changed files with 1 additions and 1 deletions
|
@ -936,7 +936,7 @@ static gs_mutex_t classLock = GS_MUTEX_INIT_STATIC;
|
|||
NSMutableArray *urls;
|
||||
|
||||
paths = NSSearchPathForDirectoriesInDomains(directory, domain, YES);
|
||||
urls = [[NSMutableArray alloc] initWithCapacity: [paths count]];
|
||||
urls = [NSMutableArray arrayWithCapacity: [paths count]];
|
||||
FOR_IN(NSString*, path, paths)
|
||||
[urls addObject: [NSURL fileURLWithPath: path]];
|
||||
END_FOR_IN(paths)
|
||||
|
|
Loading…
Reference in a new issue