Config object was never even being initialized on leave. Never noticed since desktop and server clients did not use.

This commit is contained in:
Adam Ierymenko 2017-05-23 14:45:16 -07:00
parent fb71a6e2b4
commit f9a9c2d009

View File

@ -327,6 +327,7 @@ ZT_ResultCode Node::leave(uint64_t nwid,void **uptr,void *tptr)
} else {
if (uptr)
*uptr = *n->second->userPtr();
n->second->externalConfig(&ctmp);
n->second->destroy();
nUserPtr = n->second->userPtr();
}