提交 20c9cea5 编写于 作者: D dapan1121

fix: free uid list issue

上级 ed3778dc
...@@ -454,6 +454,7 @@ int32_t getColInfoResultForGroupby(void* metaHandle, SNodeList* group, STableLis ...@@ -454,6 +454,7 @@ int32_t getColInfoResultForGroupby(void* metaHandle, SNodeList* group, STableLis
SSDataBlock* pResBlock = NULL; SSDataBlock* pResBlock = NULL;
void* keyBuf = NULL; void* keyBuf = NULL;
SArray* groupData = NULL; SArray* groupData = NULL;
SArray* pUidTagList = NULL;
static T_MD5_CTX lastMd5 = {-1}; static T_MD5_CTX lastMd5 = {-1};
static SArray* lastTableList = NULL; static SArray* lastTableList = NULL;
...@@ -493,7 +494,7 @@ int32_t getColInfoResultForGroupby(void* metaHandle, SNodeList* group, STableLis ...@@ -493,7 +494,7 @@ int32_t getColInfoResultForGroupby(void* metaHandle, SNodeList* group, STableLis
goto end; goto end;
} }
SArray* pUidTagList = taosArrayInit(8, sizeof(STUidTagInfo)); pUidTagList = taosArrayInit(8, sizeof(STUidTagInfo));
for (int32_t i = 0; i < rows; ++i) { for (int32_t i = 0; i < rows; ++i) {
STableKeyInfo* pkeyInfo = taosArrayGet(pTableListInfo->pTableList, i); STableKeyInfo* pkeyInfo = taosArrayGet(pTableListInfo->pTableList, i);
STUidTagInfo info = {.uid = pkeyInfo->uid}; STUidTagInfo info = {.uid = pkeyInfo->uid};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册