diff --git a/source/dnode/mgmt/bnode/src/bmInt.c b/source/dnode/mgmt/bnode/src/bmInt.c index 3433448a38..9964b88090 100644 --- a/source/dnode/mgmt/bnode/src/bmInt.c +++ b/source/dnode/mgmt/bnode/src/bmInt.c @@ -72,7 +72,7 @@ int32_t bmDrop(SMgmtWrapper *pWrapper) { } bmCloseImp(pMgmt); - bndDestroy(pMgmt->path); + taosRemoveDir(pMgmt->path); pWrapper->pMgmt = NULL; free(pMgmt); dInfo("bnode-mgmt is dropped");