提交 b2f6fcd0 编写于 作者: L Liu Jicong

fix mem leak

上级 93cf8e01
...@@ -840,6 +840,10 @@ void setSelectivityValue(SqlFunctionCtx* pCtx, SSDataBlock* pBlock, const STuple ...@@ -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);
}
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册