From 9ed05b7ce366500fcfe69b4327b7b7fa8e2f203d Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Mon, 13 Dec 2010 16:35:39 +0100 Subject: [PATCH] fix crash --- NEWS | 16 ++++++++++++++++ coreapi/linphonecore.c | 3 ++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 169f91adc..903df2fb2 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,19 @@ +linphone-3.4.0 -- XXXXX + * implement multiple calls feature: + - call hold (with possibility to play a music file) + - call resume + - acceptance of 2nd call while putting the others on hold + - creation of another outgoing call while already in call + - blind call transfer + - attend call transfer + * improve bandwidth management (one b=AS line is used for audio+video) + * stun support bugfixes + * possibility to use two video windows, one for local preview, one for remote video (linphonec only) + * optimize by not re-creating streams when SDP is unchanged during a reinvite + * support for sending early media + * doxygen doc and javadoc improvements + * based on mediastreamer-2.7.0, please refer to mediastreamer NEWS for changes. + linphone-3.3.2 -- July 1st, 2010 * fix crash when setting firewall address in gtk interface * fix crash while closing video window on windows diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index ed741b578..a7d9846f8 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -1650,7 +1650,7 @@ void linphone_core_iterate(LinphoneCore *lc){ } sal_iterate(lc->sal); - ms_event_queue_pump(lc->msevq); + if (lc->msevq) ms_event_queue_pump(lc->msevq); if (lc->auto_net_state_mon) monitor_network_state(lc,curtime); proxy_update(lc); @@ -3811,6 +3811,7 @@ static void linphone_core_uninit(LinphoneCore *lc) } #endif ms_event_queue_destroy(lc->msevq); + lc->msevq=NULL; /* save all config */ net_config_uninit(lc); sip_config_uninit(lc);