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
cb2b97aa
Commit
cb2b97aa
authored
Oct 05, 2012
by
Ghislain MARY
Browse files
Clean ICE session deletion on call end.
parent
d01fa0e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
coreapi/linphonecall.c
View file @
cb2b97aa
...
...
@@ -582,6 +582,7 @@ void linphone_call_set_state(LinphoneCall *call, LinphoneCallState cstate, const
static
void
linphone_call_destroy
(
LinphoneCall
*
obj
)
{
linphone_call_delete_ice_session
(
obj
);
if
(
obj
->
op
!=
NULL
)
{
sal_op_release
(
obj
->
op
);
obj
->
op
=
NULL
;
...
...
@@ -605,9 +606,6 @@ static void linphone_call_destroy(LinphoneCall *obj)
if
(
obj
->
auth_token
)
{
ms_free
(
obj
->
auth_token
);
}
if
(
obj
->
ice_session
)
{
ice_session_destroy
(
obj
->
ice_session
);
}
ms_free
(
obj
);
}
...
...
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