未验证 提交 5ce84e43 编写于 作者: H Hongze Cheng 提交者: GitHub

Merge pull request #16419 from taosdata/fix/TD-18586

fix: free ofp large value's memory
......@@ -782,6 +782,11 @@ static int tdbBtreeBalanceNonRoot(SBTree *pBt, SPage *pParent, int idx, TXN *pTx
pBt);
tdbPageInsertCell(pParent, sIdx++, pNewCell, szNewCell, 0);
tdbOsFree(pNewCell);
if (TDB_CELLDECODER_FREE_VAL(&cd)) {
tdbFree(cd.pVal);
cd.pVal = NULL;
}
}
// move to next new page
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册