forked from mirrors/linphone-iphone
Check that address was successfully created before unreferencing it
This commit is contained in:
parent
64ac2c6871
commit
f0c5c07341
1 changed files with 2 additions and 1 deletions
|
|
@ -313,7 +313,8 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
cell.adminButton.hidden = _create || (!_imAdmin && !cell.adminLabel.enabled) || ![_oldContacts containsObject:cell.uri];
|
||||
cell.adminButton.userInteractionEnabled = _imAdmin;
|
||||
cell.removeButton.hidden = !_create && !_imAdmin;
|
||||
linphone_address_unref(addr);
|
||||
if (addr)
|
||||
linphone_address_unref(addr);
|
||||
|
||||
return cell;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue