mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
srt publish core dump bug (#2429)
* solve srt push bugs Co-authored-by: shiwei <shiwei05@kuaishou.com>
This commit is contained in:
parent
a594678e3d
commit
67ac720b92
3 changed files with 34 additions and 17 deletions
|
|
@ -31,7 +31,7 @@ SRT_DATA_MSG::SRT_DATA_MSG(unsigned char* data_p, unsigned int len, const std::s
|
|||
|
||||
SRT_DATA_MSG::~SRT_DATA_MSG() {
|
||||
if (_data_p && (_len > 0)) {
|
||||
delete _data_p;
|
||||
delete[] _data_p;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue