tsdbCache: free tmp ppRow

This commit is contained in:
Minglei Jin 2022-07-01 17:19:01 +08:00
parent dd537af153
commit 36fbf6d7cb
1 changed files with 8 additions and 0 deletions

View File

@ -920,6 +920,10 @@ static int32_t mergeLast(tb_uid_t uid, STsdb *pTsdb, STSRow **ppRow) {
}
}
if (*ppRow) {
taosMemoryFreeClear(*ppRow);
}
continue;
}
@ -950,6 +954,10 @@ static int32_t mergeLast(tb_uid_t uid, STsdb *pTsdb, STSRow **ppRow) {
}
}
}
if (*ppRow) {
taosMemoryFreeClear(*ppRow);
}
} while (nilColCount > 0);
// if () new ts row from pColArray if non empty