提交 57b8617f 编写于 作者: dengyihao's avatar dengyihao

fix crash caused by double free when fail to initQInfo

上级 4913ce58
......@@ -5870,7 +5870,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.
先完成此消息的编辑!
想要评论请 注册