@@ -18,15 +18,15 @@ #import "OFOutOfMemoryException.h" #import "OFString.h" @implementation OFOutOfMemoryException -+ newWithClass: (Class)class_ - requestedSize: (size_t)size ++ exceptionWithClass: (Class)class_ + requestedSize: (size_t)size { - return [[self alloc] initWithClass: class_ - requestedSize: size]; + return [[[self alloc] initWithClass: class_ + requestedSize: size] autorelease]; } - initWithClass: (Class)class_ requestedSize: (size_t)size {