mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-19 20:18:09 +00:00
Fix bis returning bad address and memleak
This commit is contained in:
parent
865c2c1513
commit
8ff2f04ab7
1 changed files with 4 additions and 3 deletions
|
|
@ -76,9 +76,10 @@
|
|||
LinphoneCallLog* log = logs->data;
|
||||
if( linphone_call_log_get_dir(log) == LinphoneCallOutgoing ){
|
||||
LinphoneAddress* to = linphone_call_log_get_to(log);
|
||||
[addressField setText:[NSString stringWithUTF8String:linphone_address_as_string(to)]];
|
||||
address = [addressField text];
|
||||
// only fill thge address, let the user confirm the call by pressing again
|
||||
char *bis_address = linphone_address_as_string_uri_only(to);
|
||||
[addressField setText:[NSString stringWithUTF8String:bis_address]];
|
||||
ms_free(bis_address);
|
||||
// return after filling the address, let the user confirm the call by pressing again
|
||||
return;
|
||||
}
|
||||
logs = ms_list_next(logs);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue