fix possible coredump
This commit is contained in:
parent
dc3a7ae946
commit
788ecf5e78
|
@ -97,7 +97,9 @@ int vnodeBufPoolSwitch(SVnode *pVnode) {
|
||||||
|
|
||||||
pVnode->pBufPool->inuse = NULL;
|
pVnode->pBufPool->inuse = NULL;
|
||||||
|
|
||||||
TD_DLIST_APPEND(&(pVnode->pBufPool->incycle), pvma);
|
if (pvma) {
|
||||||
|
TD_DLIST_APPEND(&(pVnode->pBufPool->incycle), pvma);
|
||||||
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue