mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-21 09:51:41 +00:00
Must return self in -autorelease
This commit is contained in:
parent
023d3c89ec
commit
e9fea12e47
1 changed files with 1 additions and 0 deletions
|
@ -297,6 +297,7 @@ BOOL (id object) object_is_meta_class = #0;
|
|||
- (id) autorelease
|
||||
{
|
||||
autoreleaseIMP (autoreleaseClass, autoreleaseSelector, self);
|
||||
return self;
|
||||
}
|
||||
|
||||
- (unsigned) retainCount
|
||||
|
|
Loading…
Reference in a new issue