mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-20 20:48:07 +00:00
fix: do not free transport: it's up to the application layer to do it.
git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@730 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
This commit is contained in:
parent
383b9f950f
commit
745a21bf23
1 changed files with 1 additions and 4 deletions
|
|
@ -1266,10 +1266,7 @@ void rtp_session_release_sockets(RtpSession *session){
|
|||
if (session->rtcp.socket>=0) close_socket (session->rtcp.socket);
|
||||
session->rtp.socket=-1;
|
||||
session->rtcp.socket=-1;
|
||||
if (session->rtp.tr!=NULL)
|
||||
ortp_free(session->rtp.tr);
|
||||
if (session->rtcp.tr!=NULL)
|
||||
ortp_free(session->rtcp.tr);
|
||||
|
||||
session->rtp.tr = 0;
|
||||
session->rtcp.tr = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue