mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
Fix a small memory leak. Change tester_hosts to point to our new server.
This commit is contained in:
parent
cf16d4a459
commit
d410c7e6c7
4 changed files with 16 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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 ();
|
||||
|
|
|
|||
|
|
@ -42,6 +42,12 @@ using namespace Xsd::ConferenceInfo;
|
|||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
RemoteConferenceEventHandlerPrivate::~RemoteConferenceEventHandlerPrivate(){
|
||||
if (lev){
|
||||
unsubscribe();
|
||||
}
|
||||
}
|
||||
|
||||
void RemoteConferenceEventHandlerPrivate::simpleNotifyReceived (const string &xmlBody) {
|
||||
istringstream data(xmlBody);
|
||||
unique_ptr<ConferenceType> confInfo = parseConferenceInfo(data, Xsd::XmlSchema::Flags::dont_validate);
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue