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
c82307a7
Commit
c82307a7
authored
Jan 06, 2016
by
Simon Morlat
Browse files
fix rtpsession leak (for RTT streams)
parent
218db02a
Changes
2
Hide whitespace changes
Inline
Side-by-side
coreapi/linphonecall.c
View file @
c82307a7
...
...
@@ -1369,10 +1369,12 @@ LinphoneCall * linphone_call_new_incoming(LinphoneCore *lc, LinphoneAddress *fro
* (_linphone_call_destroy) if the call was never notified to the application.
*/
void
linphone_call_free_media_resources
(
LinphoneCall
*
call
){
int
i
;
linphone_call_stop_media_streams
(
call
);
ms_media_stream_sessions_uninit
(
&
call
->
sessions
[
call
->
main_audio_stream_index
]);
ms_media_stream_sessions_uninit
(
&
call
->
sessions
[
call
->
main_video_stream_index
]);
if
(
call
->
params
->
realtimetext_enabled
)
ms_media_stream_sessions_uninit
(
&
call
->
sessions
[
call
->
main_text_stream_index
]);
for
(
i
=
0
;
i
<
SAL_MEDIA_DESCRIPTION_MAX_STREAMS
;
++
i
){
ms_media_stream_sessions_uninit
(
&
call
->
sessions
[
i
]);
}
linphone_call_delete_upnp_session
(
call
);
linphone_call_delete_ice_session
(
call
);
linphone_call_stats_uninit
(
&
call
->
stats
[
LINPHONE_CALL_STATS_AUDIO
]);
...
...
oRTP
@
5208b686
Subproject commit
0255008c1392f800530ff416f39e70d39912e0f9
Subproject commit
5208b686f0d1abf55d8dcfe84f749ec4878e451c
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