mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-20 17:31:08 +00:00
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:
parent
39c1034afb
commit
9a53531d3b
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ BOOL (id object) object_is_meta_class = #0;
|
|||
|
||||
- (id) init
|
||||
{
|
||||
[self retain];
|
||||
obj_increment_retaincount (self);
|
||||
return self;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue