fix: eliminate double free

This commit is contained in:
kailixu 2024-04-11 11:41:05 +08:00
parent 563efeb560
commit e0f7b14ffa
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ void clearRowKey(SRowKey* pKey) {
if (pKey == NULL || pKey->numOfPKs == 0 || (!IS_VAR_DATA_TYPE(pKey->pks[0].type))) {
return;
}
taosMemoryFree(pKey->pks[0].pData);
taosMemoryFreeClear(pKey->pks[0].pData);
}
static void initLastProcKey(STableBlockScanInfo *pScanInfo, STsdbReader* pReader) {