mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Fix the double free bug
This commit is contained in:
parent
b1df04cb09
commit
6a4e043349
3 changed files with 4 additions and 12 deletions
|
@ -1212,8 +1212,6 @@ srs_error_t SrsRtcSenderThread::packet_nalus(SrsSharedPtrMessage* msg, SrsRtcPac
|
|||
|
||||
packet->payload = raw;
|
||||
} else {
|
||||
SrsAutoFree(SrsRtpRawNALUs, raw);
|
||||
|
||||
// Package NALUs in FU-A RTP packets.
|
||||
int fu_payload_size = kRtpMaxPayloadSize;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue