iPhone Leak on UITextfield text
Instruments tools says this is a leak but I can't figure out why, a开发者_JS百科ny ideas?
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.
精彩评论