mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix memory leak
This commit is contained in:
parent
fe344826cb
commit
763c06976a
1 changed files with 2 additions and 0 deletions
|
@ -161,6 +161,8 @@ void SrsRtpPacket::copy(SrsRtpPacket* src)
|
|||
|
||||
chunked = src->chunked;
|
||||
completed = src->completed;
|
||||
|
||||
srs_freep(audio_samples);
|
||||
audio_samples = new SrsCodecSample();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue