From 386d8528593ee1373b712309016992f3e92a0ee1 Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Wed, 1 Feb 2017 13:11:27 +0100 Subject: [PATCH] Clean-up --- lib/EAPBase/include/Config.h | 4 ++-- lib/EAPBase/include/Credentials.h | 2 -- lib/TTLS/include/Module.h | 4 +--- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/lib/EAPBase/include/Config.h b/lib/EAPBase/include/Config.h index 7f5cceb..93c49d1 100644 --- a/lib/EAPBase/include/Config.h +++ b/lib/EAPBase/include/Config.h @@ -465,7 +465,7 @@ namespace eap /// /// List of configuration providers /// - typedef std::list provider_list; + typedef std::list provider_list; public: /// @@ -523,7 +523,7 @@ namespace eap /// @} public: - std::list m_providers; ///< Provider configurations + std::list m_providers; ///< Provider configurations }; /// @} diff --git a/lib/EAPBase/include/Credentials.h b/lib/EAPBase/include/Credentials.h index 2275abc..6feb0a8 100644 --- a/lib/EAPBase/include/Credentials.h +++ b/lib/EAPBase/include/Credentials.h @@ -18,8 +18,6 @@ along with GÉANTLink. If not, see . */ -#include - namespace eap { class credentials; diff --git a/lib/TTLS/include/Module.h b/lib/TTLS/include/Module.h index e38017d..093c980 100644 --- a/lib/TTLS/include/Module.h +++ b/lib/TTLS/include/Module.h @@ -196,13 +196,11 @@ namespace eap credentials_connection m_cred; ///< Connection credentials std::unique_ptr m_method; ///< EAP-TTLS method - // The following members are required to avoid memory leakage in get_result() + // The following members are required to avoid memory leakage in get_result() and get_ui_context(). BYTE *m_blob_cfg; ///< Configuration BLOB #ifdef EAP_USE_NATIVE_CREDENTIAL_CACHE BYTE *m_blob_cred; ///< Credentials BLOB #endif - - // The following members are required to avoid memory leakage in get_ui_context() BYTE *m_blob_ui_ctx; ///< User Interface context data };