Clean-up
This commit is contained in:
parent
7977d04281
commit
386d852859
@ -465,7 +465,7 @@ namespace eap
|
|||||||
///
|
///
|
||||||
/// List of configuration providers
|
/// List of configuration providers
|
||||||
///
|
///
|
||||||
typedef std::list<eap::config_provider> provider_list;
|
typedef std::list<config_provider> provider_list;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
///
|
///
|
||||||
@ -523,7 +523,7 @@ namespace eap
|
|||||||
/// @}
|
/// @}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
std::list<eap::config_provider> m_providers; ///< Provider configurations
|
std::list<config_provider> m_providers; ///< Provider configurations
|
||||||
};
|
};
|
||||||
|
|
||||||
/// @}
|
/// @}
|
||||||
|
@ -18,8 +18,6 @@
|
|||||||
along with GÉANTLink. If not, see <http://www.gnu.org/licenses/>.
|
along with GÉANTLink. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sal.h>
|
|
||||||
|
|
||||||
namespace eap
|
namespace eap
|
||||||
{
|
{
|
||||||
class credentials;
|
class credentials;
|
||||||
|
@ -196,13 +196,11 @@ namespace eap
|
|||||||
credentials_connection m_cred; ///< Connection credentials
|
credentials_connection m_cred; ///< Connection credentials
|
||||||
std::unique_ptr<method> m_method; ///< EAP-TTLS method
|
std::unique_ptr<method> 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
|
BYTE *m_blob_cfg; ///< Configuration BLOB
|
||||||
#ifdef EAP_USE_NATIVE_CREDENTIAL_CACHE
|
#ifdef EAP_USE_NATIVE_CREDENTIAL_CACHE
|
||||||
BYTE *m_blob_cred; ///< Credentials BLOB
|
BYTE *m_blob_cred; ///< Credentials BLOB
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// The following members are required to avoid memory leakage in get_ui_context()
|
|
||||||
BYTE *m_blob_ui_ctx; ///< User Interface context data
|
BYTE *m_blob_ui_ctx; ///< User Interface context data
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user