1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

for #515, merge from srs2, use SrsAutoFreeA.

This commit is contained in:
winlin 2015-11-02 11:29:20 +08:00
parent 604486b0a3
commit f57e537686
14 changed files with 54 additions and 37 deletions

View file

@ -397,7 +397,7 @@ int SrsHttpHooks::on_hls_notify(int cid, std::string url, SrsRequest* req, std::
int nb_buf = srs_min(nb_notify, SRS_HTTP_READ_BUFFER);
char* buf = new char[nb_buf];
SrsAutoFree(char, buf);
SrsAutoFreeA(char, buf);
int nb_read = 0;
ISrsHttpResponseReader* br = msg->body_reader();