fix mem leak

This commit is contained in:
Liu Jicong 2022-12-29 15:34:08 +08:00
parent 93cf8e0186
commit b2f6fcd067
1 changed files with 4 additions and 0 deletions

View File

@ -840,6 +840,10 @@ void setSelectivityValue(SqlFunctionCtx* pCtx, SSDataBlock* pBlock, const STuple
}
pStart += pDstCol->info.bytes;
}
if (pCtx->saveHandle.pState) {
tdbFree((void*)p);
}
}
}