mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-06 21:33:08 +00:00
Fix "grosse déchire" around LinphoneTunnel objectization.
This commit is contained in:
parent
313b60c004
commit
deed93a650
2 changed files with 2 additions and 2 deletions
|
|
@ -34,7 +34,7 @@ LinphoneTunnel* linphone_core_get_tunnel(const LinphoneCore *lc){
|
|||
}
|
||||
|
||||
struct _LinphoneTunnel {
|
||||
::belle_sip_object_t *base;
|
||||
::belle_sip_object_t base;
|
||||
belledonnecomm::TunnelManager *manager;
|
||||
bctbx_list_t *config_list;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -5582,7 +5582,7 @@ void sip_config_uninit(LinphoneCore *lc)
|
|||
/*now that we are unregisted, there is no more channel using tunnel socket we no longer need the tunnel.*/
|
||||
#ifdef TUNNEL_ENABLED
|
||||
if (lc->tunnel) {
|
||||
linphone_tunnel_ref(lc->tunnel);
|
||||
linphone_tunnel_unref(lc->tunnel);
|
||||
lc->tunnel=NULL;
|
||||
ms_message("Tunnel destroyed.");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue