Merge pull request #16419 from taosdata/fix/TD-18586
fix: free ofp large value's memory
This commit is contained in:
commit
5ce84e4316
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue