1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-15 04:42:04 +00:00

Free RTP packet for RTC

This commit is contained in:
winlin 2020-04-11 21:46:34 +08:00
parent a2fdf0d3c7
commit bf62244908

View file

@ -653,6 +653,7 @@ srs_error_t SrsRtcSenderThread::send_messages(
if ((err = send_message(msg, is_video, is_audio, pkt, skt)) != srs_success) { if ((err = send_message(msg, is_video, is_audio, pkt, skt)) != srs_success) {
return srs_error_wrap(err, "send message"); return srs_error_wrap(err, "send message");
} }
srs_freep(pkt);
} }
*pnn += msg->size; *pnn += msg->size;