forked from mirrors/linphone-iphone
Fix table memory leak
This commit is contained in:
parent
f0e8707e1b
commit
c3f2b45e3e
1 changed files with 2 additions and 2 deletions
|
|
@ -273,11 +273,11 @@ enum TableSection {
|
|||
return [[UIView alloc] initWithFrame:CGRectZero];
|
||||
}
|
||||
}
|
||||
return [[UIView alloc] initWithFrame:CGRectZero];
|
||||
return [[[UIView alloc] initWithFrame:CGRectZero] autorelease];
|
||||
}
|
||||
|
||||
- (UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section {
|
||||
return [[UIView alloc] initWithFrame:CGRectZero];
|
||||
return [[[UIView alloc] initWithFrame:CGRectZero] autorelease];
|
||||
}
|
||||
|
||||
- (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue