开发者

Memory leak problem

I am getting leak at:

NSString *searchText = [aSearchBar.text 
    stringByTrimmingCharactersInSet开发者_开发技巧:[NSCharacterSet 
    whitespaceAndNewlineCharacterSet]];

Can anyone suggest how to get out of this memory leak.


That one line isn't leaking anything. If you do have a leak, it's somewhere else in your code.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜