Commit 745a21bf authored by smorlat's avatar smorlat

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
parent 383b9f95
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment