提交 8dbbd836 编写于 作者: M Minglei Jin

fix: free btc cell coder's pval memory when closing btc

上级 1e8202d1
......@@ -2175,6 +2175,10 @@ int tdbBtcClose(SBTC *pBtc) {
pBtc->idx = pBtc->idxStack[pBtc->iPage];
}
if (TDB_CELLDECODER_FREE_VAL(&pBtc->coder)) {
tdbFree(pBtc->coder.pVal);
}
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册