free issue

This commit is contained in:
dapan1121 2021-04-01 15:31:31 +08:00
parent 22d1853903
commit dc9c503f05
1 changed files with 3 additions and 1 deletions

View File

@ -67,7 +67,9 @@ void cleanupResultRowInfo(SResultRowInfo *pResultRowInfo) {
}
for(int32_t i = 0; i < pResultRowInfo->size; ++i) {
tfree(pResultRowInfo->pResult[i]->key);
if (pResultRowInfo->pResult[i]) {
tfree(pResultRowInfo->pResult[i]->key);
}
}
tfree(pResultRowInfo->pResult);