mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-03-10 14:34:16 +00:00
Config object was never even being initialized on leave. Never noticed since desktop and server clients did not use.
This commit is contained in:
parent
fb71a6e2b4
commit
f9a9c2d009
@ -327,6 +327,7 @@ ZT_ResultCode Node::leave(uint64_t nwid,void **uptr,void *tptr)
|
|||||||
} else {
|
} else {
|
||||||
if (uptr)
|
if (uptr)
|
||||||
*uptr = *n->second->userPtr();
|
*uptr = *n->second->userPtr();
|
||||||
|
n->second->externalConfig(&ctmp);
|
||||||
n->second->destroy();
|
n->second->destroy();
|
||||||
nUserPtr = n->second->userPtr();
|
nUserPtr = n->second->userPtr();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user