开发者

iPhone Leak on UITextfield text

Instruments tools says this is a leak but I can't figure out why, a开发者_JS百科ny ideas?

iPhone Leak on UITextfield text


Make sure you are releasing self.variables property in your dealloc (or somewhere). Also, ensure that your Variable class is releasing variableValues property in the Variable class's dealloc.


That's not a proper way to assign @"" to a NSMutableString. You should use setString: instead.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜