False memory inspection?
I have a attribure payAmount and I overwrite the set method with:
- (void)setPayAmount:(NSDecimalNumber *)amount {
[amount retain];
[payAmount release];
payAmount = amount;
[self updateReceiveAmount];
}
With code inspection I get value may have not been released for amount which I think is false. since amount -> payAmount
请先登录再写评论。
Fixed.