mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix mem leak for delete[] SharedPtrMessage array, explicit free elems. remove srs_freepa. 0.9.95
This commit is contained in:
parent
0a1c0afe8d
commit
befde6acf7
15 changed files with 209 additions and 174 deletions
|
@ -72,7 +72,7 @@ SrsFastLog::SrsFastLog()
|
|||
|
||||
SrsFastLog::~SrsFastLog()
|
||||
{
|
||||
srs_freepa(log_data);
|
||||
srs_freep(log_data);
|
||||
|
||||
if (fd > 0) {
|
||||
::close(fd);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue