From f11cabf8b29e6c309348fa2ac6d2f78564063c2f Mon Sep 17 00:00:00 2001 From: nicolas Date: Thu, 27 Jul 2017 10:25:15 +0200 Subject: [PATCH] fix leak calllog --- coreapi/call_log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreapi/call_log.c b/coreapi/call_log.c index 9871d7003..d0f67d781 100644 --- a/coreapi/call_log.c +++ b/coreapi/call_log.c @@ -310,7 +310,7 @@ LinphoneCallLog * linphone_call_log_new(LinphoneCallDir dir, LinphoneAddress *fr set_call_log_date(cl,cl->start_date_time); cl->from=from; - cl->to = linphone_address_clone(to); + cl->to=to; cl->status=LinphoneCallAborted; /*default status*/ cl->quality=-1;