We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1181fb2 commit d11e48fCopy full SHA for d11e48f
Foundation/src/Environment_WIN32U.cpp
@@ -216,7 +216,8 @@ void EnvironmentImpl::nodeIdImpl(NodeId& id)
216
}
217
else if (rc != ERROR_SUCCESS)
218
{
219
- return;
+ delete[] reinterpret_cast<char*>(pAdapterInfo);
220
+ throw SystemException("cannot get network adapter list");
221
222
if (GetAdaptersInfo(pAdapterInfo, &len) == NO_ERROR)
223
Foundation/src/Environment_WINCE.cpp
@@ -167,6 +167,7 @@ void EnvironmentImpl::nodeIdImpl(NodeId& id)
167
168
169
170
171
throw SystemException("cannot get network adapter list");
172
173
try
0 commit comments