diff --git a/lib/EapHost/src/Credentials.cpp b/lib/EapHost/src/Credentials.cpp index 879a9cc..5b1988b 100644 --- a/lib/EapHost/src/Credentials.cpp +++ b/lib/EapHost/src/Credentials.cpp @@ -258,7 +258,7 @@ eap::credentials::source_t eap::credentials_eaphost::combine( DWORD cred_data_size = 0; eap_blob_runtime cred_data; unique_ptr identity; - eap_error error; + eap_error error; // MSDN says to use EapHostPeerFreeErrorMemory()/eap_error, but given the context of execution, probably eap_error_runtime would be the right choice. DWORD dwResult = EapHostPeerGetIdentity( 0, dwFlags, diff --git a/lib/TTLS_UI/src/Module.cpp b/lib/TTLS_UI/src/Module.cpp index 16c0acb..f3ae786 100644 --- a/lib/TTLS_UI/src/Module.cpp +++ b/lib/TTLS_UI/src/Module.cpp @@ -325,7 +325,7 @@ void eap::peer_ttls_ui::invoke_identity_ui( auto cred_inner = dynamic_cast(cred->m_inner.get()); DWORD cred_data_size = 0; winstd::eap_blob cred_data; - unique_ptr identity; + unique_ptr identity; winstd::eap_error error; DWORD dwResult = EapHostPeerInvokeIdentityUI( 0,