From 84441343adedad0007a05b438abe04a7c105c6ca Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Thu, 18 May 2017 15:11:17 +0200 Subject: [PATCH] Fix crash because of unref of event. --- coreapi/callbacks.c | 1 - 1 file changed, 1 deletion(-) diff --git a/coreapi/callbacks.c b/coreapi/callbacks.c index 369513b52..d3bb3b6fb 100644 --- a/coreapi/callbacks.c +++ b/coreapi/callbacks.c @@ -1138,7 +1138,6 @@ static void register_failure(SalOp *op){ if (cfg->long_term_event){ /*prevent publish to be sent now until registration gets successful*/ linphone_event_terminate(cfg->long_term_event); - linphone_event_unref(cfg->long_term_event); cfg->long_term_event=NULL; cfg->send_publish=cfg->publish; }