mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-28 08:39:20 +00:00
Free dtmf timer on call destruction, if needed
This commit is contained in:
parent
8a6a2e4cca
commit
a76aa60ff5
1 changed files with 5 additions and 1 deletions
|
|
@ -1042,11 +1042,15 @@ static void linphone_call_destroy(LinphoneCall *obj)
|
|||
if (obj->transfer_target){
|
||||
linphone_call_unref(obj->transfer_target);
|
||||
}
|
||||
if (obj->log)
|
||||
if (obj->log) {
|
||||
linphone_call_log_unref(obj->log);
|
||||
}
|
||||
if (obj->auth_token) {
|
||||
ms_free(obj->auth_token);
|
||||
}
|
||||
if (obj->dtmfs_timer) {
|
||||
linphone_call_cancel_dtmfs(obj);
|
||||
}
|
||||
linphone_call_params_unref(obj->params);
|
||||
linphone_call_params_unref(obj->current_params);
|
||||
if (obj->remote_params != NULL) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue