Fix a braino in Object's -init.

I'd forgotten AutoreleasePool doesn't like receiving -retain when I did the
retainCount change, and thus Object's -init was a little too naive.
This commit is contained in:
Bill Currie 2012-11-14 20:45:29 +09:00
parent 39c1034afb
commit 9a53531d3b
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ BOOL (id object) object_is_meta_class = #0;
- (id) init
{
[self retain];
obj_increment_retaincount (self);
return self;
}