mirror of
https://github.com/ossrs/srs.git
synced 2025-02-13 11:51:57 +00:00
SquashSRS4: Fix memory leak
This commit is contained in:
parent
fa2fec3247
commit
d80ba9d284
1 changed files with 5 additions and 1 deletions
|
@ -1699,7 +1699,11 @@ SrsRtcConnection::~SrsRtcConnection()
|
|||
srs_freep(addr);
|
||||
}
|
||||
|
||||
srs_freep(cache_iov_);
|
||||
if (true) {
|
||||
char* iov_base = (char*)cache_iov_->iov_base;
|
||||
srs_freepa(iov_base);
|
||||
srs_freep(cache_iov_);
|
||||
}
|
||||
srs_freep(cache_buffer_);
|
||||
|
||||
srs_freep(transport_);
|
||||
|
|
Loading…
Reference in a new issue