diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index d2aada062..f0cc213e7 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -6064,6 +6064,12 @@ void _linphone_core_uninit(LinphoneCore *lc) if (lc->friends_db_file) { ms_free(lc->friends_db_file); } + if (lc->tls_key){ + ms_free(lc->tls_key); + } + if (lc->tls_cert){ + ms_free(lc->tls_cert); + } if (lc->ringtoneplayer) { linphone_ringtoneplayer_destroy(lc->ringtoneplayer); } diff --git a/src/conference/handlers/remote-conference-event-handler-p.h b/src/conference/handlers/remote-conference-event-handler-p.h index 8d4a06836..85a7134ba 100644 --- a/src/conference/handlers/remote-conference-event-handler-p.h +++ b/src/conference/handlers/remote-conference-event-handler-p.h @@ -33,6 +33,7 @@ LINPHONE_BEGIN_NAMESPACE class RemoteConferenceEventHandlerPrivate : public ObjectPrivate, public CoreListener { private: + ~RemoteConferenceEventHandlerPrivate(); void simpleNotifyReceived (const std::string &xmlBody); void subscribe (); void unsubscribe (); diff --git a/src/conference/handlers/remote-conference-event-handler.cpp b/src/conference/handlers/remote-conference-event-handler.cpp index fb743e13e..52dd3fc14 100644 --- a/src/conference/handlers/remote-conference-event-handler.cpp +++ b/src/conference/handlers/remote-conference-event-handler.cpp @@ -42,6 +42,12 @@ using namespace Xsd::ConferenceInfo; // ----------------------------------------------------------------------------- +RemoteConferenceEventHandlerPrivate::~RemoteConferenceEventHandlerPrivate(){ + if (lev){ + unsubscribe(); + } +} + void RemoteConferenceEventHandlerPrivate::simpleNotifyReceived (const string &xmlBody) { istringstream data(xmlBody); unique_ptr confInfo = parseConferenceInfo(data, Xsd::XmlSchema::Flags::dont_validate); diff --git a/tester/tester_hosts b/tester/tester_hosts index 686c42b88..6cbe9b3e2 100644 --- a/tester/tester_hosts +++ b/tester/tester_hosts @@ -1,4 +1,4 @@ -94.23.19.176 sip2.linphone.org sip.example.org sipopen.example.org auth.example.org auth1.example.org auth2.example.org altname.linphone.org sip.wildcard1.linphone.org altname.wildcard2.linphone.org sipv4.example.org -2001:41d0:2:14b0::1 sip2.linphone.org sip.example.org sipopen.example.org auth.example.org auth1.example.org auth2.example.org altname.linphone.org sip.wildcard1.linphone.org altname.wildcard2.linphone.org +54.37.202.228 sip2.linphone.org sip.example.org sipopen.example.org auth.example.org auth1.example.org auth2.example.org altname.linphone.org sip.wildcard1.linphone.org altname.wildcard2.linphone.org sipv4.example.org +2001:41d0:700:789::2010 sip2.linphone.org sip.example.org sipopen.example.org auth.example.org auth1.example.org auth2.example.org altname.linphone.org sip.wildcard1.linphone.org altname.wildcard2.linphone.org 188.165.46.90 tunnel.wildcard2.linphone.org -64:ff9b::94.23.19.176 sipv4-nat64.example.org +64:ff9b::54.37.202.228 sipv4-nat64.example.org