fix: free uid list issue
This commit is contained in:
parent
ed3778dc9f
commit
20c9cea5f0
|
@ -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
|
||||||
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};
|
||||||
|
|
Loading…
Reference in New Issue