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

Merge pull request #2131 from taosdata/yiBuf

fix crash caused by double free when fail to initQInfo
......@@ -5858,7 +5858,7 @@ _over:
taosArrayDestroy(pTableIdList);
if (code != TSDB_CODE_SUCCESS) {
tfree(*pQInfo);
//pQInfo already freed in initQInfo, but *pQInfo may not pointer to null;
*pQInfo = NULL;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册