forked from mirrors/linphone-iphone
fix memory leak
This commit is contained in:
parent
1b4d86ffff
commit
6de9557d60
1 changed files with 1 additions and 0 deletions
|
|
@ -941,6 +941,7 @@ static void update_contact_from_response(SalOp *op, osip_message_t *response){
|
|||
tmp=sal_address_as_string(addr);
|
||||
ms_message("Contact address updated to %s for this dialog",tmp);
|
||||
sal_op_set_contact(op,tmp);
|
||||
sal_address_destroy(addr);
|
||||
ms_free(tmp);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue