From 274ff16b4196c100521a92866b7d2f82740b92c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Grisez?= Date: Wed, 5 Apr 2017 10:18:25 +0200 Subject: [PATCH] Fix double free --- coreapi/callbacks.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/coreapi/callbacks.c b/coreapi/callbacks.c index 1e0e3b165..867f493d5 100644 --- a/coreapi/callbacks.c +++ b/coreapi/callbacks.c @@ -347,8 +347,6 @@ static void call_received(SalOp *h){ linphone_error_info_set(ei, LinphoneReasonBusy, 486, "Busy - duplicated call", NULL); linphone_core_report_early_failed_call(lc, LinphoneCallIncoming, from_addr, to_addr, ei); sal_op_release(h); - linphone_address_unref(from_addr); - linphone_address_unref(to_addr); linphone_address_unref(from_address_to_search_if_me); ms_free(addr); return;