未验证 提交 c145eb62 编写于 作者: S Shengliang Guan 提交者: GitHub

Merge pull request #5244 from taosdata/fix/TD-3031

[TD-3031]<fix>: fix NULL parser crash
......@@ -154,7 +154,9 @@ void httpReleaseContext(HttpContext *pContext, bool clearRes) {
}
if (clearRes) {
httpClearParser(pContext->parser);
if (pContext->parser) {
httpClearParser(pContext->parser);
}
memset(&pContext->singleCmd, 0, sizeof(HttpSqlCmd));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册