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:
parent
604486b0a3
commit
f57e537686
14 changed files with 54 additions and 37 deletions
|
@ -142,7 +142,7 @@ int SrsDynamicHttpConn::proxy(ISrsHttpResponseWriter* w, ISrsHttpMessage* r, std
|
|||
srs_trace("flv: proxy %s to %s", r->uri().c_str(), output.c_str());
|
||||
|
||||
char* buffer = new char[SRS_HTTP_FLV_STREAM_BUFFER];
|
||||
SrsAutoFree(char, buffer);
|
||||
SrsAutoFreeA(char, buffer);
|
||||
|
||||
ISrsHttpResponseReader* rr = r->body_reader();
|
||||
SrsHttpFileReader reader(rr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue