forked from mirrors/linphone-iphone
Fixes memory leak in LinphoneCall
The onhold_file attribute was not freed in the LinphoneCall destructor
This commit is contained in:
parent
9f00c5cd76
commit
993b97dd94
1 changed files with 1 additions and 0 deletions
|
|
@ -1715,6 +1715,7 @@ static void linphone_call_destroy(LinphoneCall *obj){
|
|||
linphone_address_unref(obj->me);
|
||||
obj->me = NULL;
|
||||
}
|
||||
if (obj->onhold_file) ms_free(obj->onhold_file);
|
||||
|
||||
sal_error_info_reset(&obj->non_op_error);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue