Hi guys, I am getting leak at:
NSString *searchText = [aSearchBar.text
stringByTrimmingCharactersInSet:[NSCharacterSet
whitespaceAndNewlineCharacterSet]];
Can anyone suggest how to get out of this memory leak.
Hi guys, 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.