diff options
-rwxr-xr-x | toxav/rtp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/toxav/rtp.c b/toxav/rtp.c index 42c9480c..b52840c1 100755 --- a/toxav/rtp.c +++ b/toxav/rtp.c | |||
@@ -752,6 +752,7 @@ int rtp_send_msg ( RTPSession *session, Messenger *messenger, const uint8_t *dat | |||
752 | /*if ( full_length != sendpacket ( messenger->net, *((IP_Port*) &session->dest), _send_data, full_length) ) {*/ | 752 | /*if ( full_length != sendpacket ( messenger->net, *((IP_Port*) &session->dest), _send_data, full_length) ) {*/ |
753 | if ( full_length != send_custom_user_packet(messenger, session->dest, _send_data, full_length) ) { | 753 | if ( full_length != send_custom_user_packet(messenger, session->dest, _send_data, full_length) ) { |
754 | /*fprintf(stderr, "Rtp error: %s\n", strerror(errno));*/ | 754 | /*fprintf(stderr, "Rtp error: %s\n", strerror(errno));*/ |
755 | rtp_free_msg ( session, msg ); | ||
755 | return -1; | 756 | return -1; |
756 | } | 757 | } |
757 | 758 | ||