fix coredump while a dnode process already exist
This commit is contained in:
parent
1153eac4dc
commit
c9d977f9f5
|
@ -117,6 +117,7 @@ SDnode *dndCreate(const SDnodeOpt *pOption) {
|
|||
_OVER:
|
||||
if (code != 0 && pDnode) {
|
||||
dndClearMemory(pDnode);
|
||||
pDnode = NULL;
|
||||
dError("failed to create dnode object since %s", terrstr());
|
||||
} else {
|
||||
dInfo("dnode object is created, data:%p", pDnode);
|
||||
|
|
Loading…
Reference in New Issue