Line 193, they forgot to autorelease, here is the fix: newPatch.diffs = [[[NSMutableArray alloc] initWithArray:self.diffs copyItems:YES] autorelease];