Merge pull request #3565 from taosdata/feature/http

memory leak in restful while close context
This commit is contained in:
Shengliang Guan 2020-09-17 15:49:46 +08:00 committed by GitHub
commit 5c369d2c9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -230,4 +230,5 @@ void httpCloseContextByServer(HttpContext *pContext) {
pContext->parsed = false;
httpRemoveContextFromEpoll(pContext);
httpReleaseContext(pContext, true);
}