fix commit issue

This commit is contained in:
Hongze Cheng 2022-01-10 06:30:50 +00:00
parent df202e6d5d
commit dc3a7ae946
1 changed files with 2 additions and 1 deletions

View File

@ -104,7 +104,8 @@ int vnodeBufPoolSwitch(SVnode *pVnode) {
int vnodeBufPoolRecycle(SVnode *pVnode) {
SVBufPool * pBufPool = pVnode->pBufPool;
SVMemAllocator *pvma = TD_DLIST_HEAD(&(pBufPool->incycle));
ASSERT(pvma != NULL);
if (pvma == NULL) return 0;
// ASSERT(pvma != NULL);
TD_DLIST_POP(&(pBufPool->incycle), pvma);
vmaReset(pvma);