私のコードは
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
NSString *CellIdentifier1 = [NSString stringWithFormat:@"SimpleCell"];
UITableViewCell *cell1 = [tableView dequeueReusableCellWithIdentifier:nil];
if (cell1 == nil) {
cell1 = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier1] autorelease];
}
return cell1;
}
これにより、常にlibsystem_c.dylibのmallicメモリリークが48バイト発生します。また、reloadDataを呼び出すたびに、メモリリークが蓄積されます。
どんなコメンも来て