From 1abb2429fbd15ff97befb0857fef3c6e0c7da4a5 Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Thu, 6 Oct 2016 21:44:04 +0200 Subject: [PATCH] fix regression in error_info reporting of LinphoneEvent --- coreapi/event.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/coreapi/event.c b/coreapi/event.c index 3961a0d50..c50ca460d 100644 --- a/coreapi/event.c +++ b/coreapi/event.c @@ -70,9 +70,8 @@ LINPHONE_PUBLIC const char *linphone_publish_state_to_string(LinphonePublishStat static void linphone_event_release(LinphoneEvent *lev){ if (lev->op) { - /*this will stop the refreesher*/ - sal_op_release(lev->op); - lev->op = NULL; + /*this will stop the refresher*/ + sal_op_stop_refreshing(lev->op); } linphone_event_unref(lev); }