开发者

Memory leak problem

开发者 https://www.devze.com 2023-01-05 02:51 出处:网络
I am getting leak at: NSString *searchText = [aSearchBar.text stringByTrimmingCharactersInSet开发者_开发技巧:[NSCharacterSet

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

精彩评论

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

关注公众号