Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
d410c7e6
Commit
d410c7e6
authored
Jan 29, 2018
by
Simon Morlat
Browse files
Fix a small memory leak. Change tester_hosts to point to our new server.
parent
cf16d4a4
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
3 deletions
+16
-3
coreapi/linphonecore.c
coreapi/linphonecore.c
+6
-0
src/conference/handlers/remote-conference-event-handler-p.h
src/conference/handlers/remote-conference-event-handler-p.h
+1
-0
src/conference/handlers/remote-conference-event-handler.cpp
src/conference/handlers/remote-conference-event-handler.cpp
+6
-0
tester/tester_hosts
tester/tester_hosts
+3
-3
No files found.
coreapi/linphonecore.c
View file @
d410c7e6
...
...
@@ -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
);
}
...
...
src/conference/handlers/remote-conference-event-handler-p.h
View file @
d410c7e6
...
...
@@ -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
();
...
...
src/conference/handlers/remote-conference-event-handler.cpp
View file @
d410c7e6
...
...
@@ -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
);
...
...
tester/tester_hosts
View file @
d410c7e6
9
4.
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
5
4.
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::
9
4.
23.19.176
sipv4-nat64.example.org
64:ff9b::
5
4.
37.202.228
sipv4-nat64.example.org
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment