fix: free btc cell coder's pval memory when closing btc
This commit is contained in:
parent
1e8202d195
commit
8dbbd8362e
|
@ -2175,6 +2175,10 @@ int tdbBtcClose(SBTC *pBtc) {
|
||||||
pBtc->idx = pBtc->idxStack[pBtc->iPage];
|
pBtc->idx = pBtc->idxStack[pBtc->iPage];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (TDB_CELLDECODER_FREE_VAL(&pBtc->coder)) {
|
||||||
|
tdbFree(pBtc->coder.pVal);
|
||||||
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue