mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
merge srs2, use srs_freepa for array
This commit is contained in:
parent
cef1ae5a8e
commit
8cec06e898
16 changed files with 69 additions and 65 deletions
|
@ -207,7 +207,7 @@ int SrsDynamicHttpConn::do_proxy(ISrsHttpResponseReader* rr, SrsFlvDecoder* dec)
|
|||
|
||||
char* data = new char[size];
|
||||
if ((ret = dec->read_tag_data(data, size)) != ERROR_SUCCESS) {
|
||||
srs_freep(data);
|
||||
srs_freepa(data);
|
||||
if (!srs_is_client_gracefully_close(ret)) {
|
||||
srs_error("flv: proxy tag data failed. ret=%d", ret);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue