mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
Fix minor leak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38560 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
bd07f71fbf
commit
5f2a9f6fc5
1 changed files with 1 additions and 1 deletions
|
@ -1037,7 +1037,7 @@ static NSRecursiveLock *classLock = nil;
|
|||
|
||||
result = [[NSCalendar alloc] initWithCalendarIdentifier: calId];
|
||||
|
||||
return result;
|
||||
return AUTORELEASE(result);
|
||||
#else
|
||||
return nil;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue