summaryrefslogtreecommitdiff
path: root/toxav/rtp.c
diff options
context:
space:
mode:
Diffstat (limited to 'toxav/rtp.c')
-rw-r--r--toxav/rtp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/toxav/rtp.c b/toxav/rtp.c
index 148c4238..7a20877f 100644
--- a/toxav/rtp.c
+++ b/toxav/rtp.c
@@ -138,7 +138,7 @@ void rtp_kill ( RTPSession *session )
138{ 138{
139 if ( !session ) return; 139 if ( !session ) return;
140 140
141 rtp_stop_receiving (session); 141 rtp_stop_receiving (session);
142 142
143 free ( session->ext_header ); 143 free ( session->ext_header );
144 free ( session->csrc ); 144 free ( session->csrc );
@@ -153,6 +153,7 @@ void rtp_kill ( RTPSession *session )
153 LOGGER_DEBUG("Terminated RTP session: %p", session); 153 LOGGER_DEBUG("Terminated RTP session: %p", session);
154 154
155 /* And finally free session */ 155 /* And finally free session */
156 free ( session->rtcp_session );
156 free ( session ); 157 free ( session );
157} 158}
158int rtp_do(RTPSession *session) 159int rtp_do(RTPSession *session)