Add missing autorelease call
This commit is contained in:
parent
8a7c60fe1c
commit
5e38932ed3
1 changed files with 2 additions and 2 deletions
|
@ -27,8 +27,8 @@
|
|||
+ exceptionWithClass: (Class)class_
|
||||
reason: (OFString*)reason_;
|
||||
{
|
||||
return [[self alloc] initWithClass: class_
|
||||
reason: reason_];
|
||||
return [[[self alloc] initWithClass: class_
|
||||
reason: reason_] autorelease];
|
||||
}
|
||||
|
||||
- initWithClass: (Class)class_
|
||||
|
|
Reference in a new issue