mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for memory leak detect, move the payload create to message.
This commit is contained in:
parent
863dddde09
commit
f347099fd1
3 changed files with 18 additions and 7 deletions
|
@ -283,8 +283,12 @@ public:
|
|||
char* payload;
|
||||
public:
|
||||
SrsCommonMessage();
|
||||
public:
|
||||
virtual ~SrsCommonMessage();
|
||||
public:
|
||||
/**
|
||||
* alloc the payload to specified size of bytes.
|
||||
*/
|
||||
virtual void create_payload(int size);
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue