fix(query): fix memory leak.
This commit is contained in:
parent
fed567ae42
commit
e31ee23fbb
|
@ -1094,6 +1094,7 @@ static SColumnInfoData* doVectorConvert(SScalarParam* pInput, int32_t* doConvert
|
||||||
static void doReleaseVec(SColumnInfoData* pCol, int32_t type) {
|
static void doReleaseVec(SColumnInfoData* pCol, int32_t type) {
|
||||||
if (type == VECTOR_DO_CONVERT) {
|
if (type == VECTOR_DO_CONVERT) {
|
||||||
colDataDestroy(pCol);
|
colDataDestroy(pCol);
|
||||||
|
taosMemoryFree(pCol);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue