S Sergio10 macrumors regular Original poster Oct 3, 2007 137 0 Apr 25, 2010 #1 HI, "Leaks" instrument shows that current code has leak: PHP: - (void)setCity:(NSString*)aCity { if(aCity != nil) { [city setString:aCity]; // it show here } } How to solve the problem? Thanks.
HI, "Leaks" instrument shows that current code has leak: PHP: - (void)setCity:(NSString*)aCity { if(aCity != nil) { [city setString:aCity]; // it show here } } How to solve the problem? Thanks.
robbieduncan Moderator emeritus Jul 24, 2002 25,611 893 Harrogate Apr 25, 2010 #2 What is city? How is the method setString: defined?