[TD-2996]<fix>: reset pContext->singleCmd to zeroes when httpReleaseContext(pContext, true)

This commit is contained in:
Minglei Jin 2021-02-20 15:36:34 +08:00
parent 1857355a2c
commit e26a472e91
1 changed files with 1 additions and 0 deletions

View File

@ -155,6 +155,7 @@ void httpReleaseContext(HttpContext *pContext, bool clearRes) {
if (clearRes) {
httpClearParser(pContext->parser);
memset(&pContext->singleCmd, 0, sizeof(HttpSqlCmd));
}
HttpContext **ppContext = pContext->ppContext;