mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-07 16:31:08 +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
|
- (id) autorelease
|
||||||
{
|
{
|
||||||
autoreleaseIMP (autoreleaseClass, autoreleaseSelector, self);
|
autoreleaseIMP (autoreleaseClass, autoreleaseSelector, self);
|
||||||
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (unsigned) retainCount
|
- (unsigned) retainCount
|
||||||
|
|
Loading…
Reference in a new issue