mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +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];
|
result = [[NSCalendar alloc] initWithCalendarIdentifier: calId];
|
||||||
|
|
||||||
return result;
|
return AUTORELEASE(result);
|
||||||
#else
|
#else
|
||||||
return nil;
|
return nil;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue