fix mem leak
This commit is contained in:
parent
93cf8e0186
commit
b2f6fcd067
|
@ -840,6 +840,10 @@ void setSelectivityValue(SqlFunctionCtx* pCtx, SSDataBlock* pBlock, const STuple
|
||||||
}
|
}
|
||||||
pStart += pDstCol->info.bytes;
|
pStart += pDstCol->info.bytes;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (pCtx->saveHandle.pState) {
|
||||||
|
tdbFree((void*)p);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue