mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
hotfix #270, memory leak for http client post. 2.0.81
This commit is contained in:
commit
c1c01ec802
3 changed files with 10 additions and 1 deletions
|
@ -111,6 +111,8 @@ int SrsHttpClient::post(SrsHttpUri* uri, string req, string& res)
|
|||
}
|
||||
srs_info("parse http post response success.");
|
||||
|
||||
srs_freep(msg);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue