From 8607cd54df57f229dd21d28e742a871611db2237 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Grisez?= Date: Tue, 29 Mar 2016 11:17:21 +0200 Subject: [PATCH] Remove all linphone_call_ref/unref() off conference server simulator code --- tester/tester.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tester/tester.c b/tester/tester.c index 811b86e46..7a2c47cbd 100644 --- a/tester/tester.c +++ b/tester/tester.c @@ -721,14 +721,13 @@ static void linphone_conference_server_call_state_changed(LinphoneCore *lc, Linp if(linphone_call_get_conference(call) == NULL) { linphone_core_add_to_conference(lc, call); linphone_core_leave_conference(lc); - if(conf_srv->first_call == NULL) conf_srv->first_call = linphone_call_ref(call); + if(conf_srv->first_call == NULL) conf_srv->first_call = call; } break; case LinphoneCallEnd: if(call == conf_srv->first_call) { linphone_core_terminate_conference(lc); - linphone_call_unref(call); conf_srv->first_call = NULL; } break;