SHOW:
|
|
- or go back to the newest paste.
| 1 | - | - (void)release |
| 1 | + | - (void)dealloc |
| 2 | {
| |
| 3 | - | if(NSDecrementExtraRefCountWasZero(self)) |
| 3 | + | NSDeallocateObject(self); |
| 4 | - | [self dealloc]; |
| 4 | + | |
| 5 | ||
| 6 | inline void | |
| 7 | - | BOOL |
| 7 | + | NSDeallocateObject(id anObject) |
| 8 | - | NSDecrementExtraRefCountWasZero(id anObject) |
| 8 | + | |
| 9 | struct obj_layout *o = &((struct obj_layout *)ansObject)[-1]; | |
| 10 | - | if(((struct obj_layout *)anObject)[-1].retained == 0){
|
| 10 | + | free(o); |
| 11 | - | return YES; |
| 11 | + |