From 5bf95231b51641ce095af49a864cf00fa6837750 Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Mon, 26 Dec 2011 16:54:08 +0100 Subject: [PATCH] Fix SIGSEV on Android --- coreapi/conference.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/coreapi/conference.c b/coreapi/conference.c index aafed5d60..d4abc1a91 100644 --- a/coreapi/conference.c +++ b/coreapi/conference.c @@ -298,5 +298,8 @@ int linphone_core_terminate_conference(LinphoneCore *lc) { } int linphone_core_get_conference_size(LinphoneCore *lc) { + if (lc->conf_ctx.conf == NULL) { + return 0; + } return ms_audio_conference_get_size(lc->conf_ctx.conf); }