Fixes memory leak in LinphoneCall

The onhold_file attribute was not freed in the LinphoneCall destructor
This commit is contained in:
François Grisez 2016-03-29 11:12:16 +02:00
parent 9f00c5cd76
commit 993b97dd94

View file

@ -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);
}