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.
精彩评论