From a1b2f96db334d5150047e2aa80f442369f213863 Mon Sep 17 00:00:00 2001 From: Yann Diorcet Date: Thu, 23 Aug 2012 10:09:25 +0200 Subject: [PATCH] Update linphone submodule and remove memory leak in InCall view --- Classes/InCallTableViewController.m | 4 ++-- submodules/linphone | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Classes/InCallTableViewController.m b/Classes/InCallTableViewController.m index 4b21b862f..158df61ab 100644 --- a/Classes/InCallTableViewController.m +++ b/Classes/InCallTableViewController.m @@ -260,7 +260,7 @@ enum TableSection { - (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section { if(section == CallSection) { - return [[UIView alloc] initWithFrame:CGRectZero]; + return [[[UIView alloc] initWithFrame:CGRectZero] autorelease]; } else if(section == ConferenceSection) { LinphoneCore* lc = [LinphoneManager getLc]; if(linphone_core_get_conference_size(lc) > 0){ @@ -270,7 +270,7 @@ enum TableSection { [headerController release]; return headerView; } else { - return [[UIView alloc] initWithFrame:CGRectZero]; + return [[[UIView alloc] initWithFrame:CGRectZero] autorelease]; } } return [[[UIView alloc] initWithFrame:CGRectZero] autorelease]; diff --git a/submodules/linphone b/submodules/linphone index a0be0c1b3..1438d4f59 160000 --- a/submodules/linphone +++ b/submodules/linphone @@ -1 +1 @@ -Subproject commit a0be0c1b3b977f2ebc1e7712c648ae9748788458 +Subproject commit 1438d4f5911aa692b862b04e421eb48de3147b00