diff --git a/src/plugins/http/src/httpContext.c b/src/plugins/http/src/httpContext.c index f71a84a5af..e4f59f4595 100644 --- a/src/plugins/http/src/httpContext.c +++ b/src/plugins/http/src/httpContext.c @@ -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;