提交 079cd0e0 编写于 作者: H Haojun Liao

[td-225] fix a memory leak in query.

上级 bd725f1b
...@@ -2085,6 +2085,8 @@ STimeWindow changeTableGroupByLastrow(STableGroupInfo *groupList) { ...@@ -2085,6 +2085,8 @@ STimeWindow changeTableGroupByLastrow(STableGroupInfo *groupList) {
totalNumOfTable++; totalNumOfTable++;
taosArrayPush(pGroup, &keyInfo); taosArrayPush(pGroup, &keyInfo);
} else { } else {
taosArrayDestroy(pGroup);
taosArrayRemove(groupList->pGroupList, j); taosArrayRemove(groupList->pGroupList, j);
numOfGroups -= 1; numOfGroups -= 1;
j -= 1; j -= 1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册