diff -r c047e70c53f4 -r fc755bb8096d project_files/HedgewarsMobile/Classes/MapConfigViewController.m --- a/project_files/HedgewarsMobile/Classes/MapConfigViewController.m Sat Jul 30 17:23:47 2011 -0400 +++ b/project_files/HedgewarsMobile/Classes/MapConfigViewController.m Sun Jul 31 16:03:24 2011 +0200 @@ -387,6 +387,7 @@ NSString *checkPath = [[NSString alloc] initWithFormat:@"%@/%@/icon.png",THEMES_DIRECTORY(),themeName]; if ([[NSFileManager defaultManager] fileExistsAtPath:checkPath]) [themeArray addObject:themeName]; + [checkPath release]; } // remove images that are too big for certain devices without loading the whole image