提交 79ea4c2c 编写于 作者: H Haojun Liao

fix(query): add null ptr check.

上级 f790d91b
......@@ -1788,6 +1788,10 @@ void* tableListDestroy(STableListInfo* pTableListInfo) {
}
void tableListClear(STableListInfo* pTableListInfo) {
if (pTableListInfo == NULL) {
return;
}
taosArrayClear(pTableListInfo->pTableList);
taosHashClear(pTableListInfo->map);
taosMemoryFree(pTableListInfo->groupOffset);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册