AXIS2_EXTERN void AXIS2_CALL saml_authentication_query_free()

in src/omxmlsec/saml/query.c [59:71]


AXIS2_EXTERN void AXIS2_CALL saml_authentication_query_free(saml_authentication_query_t *auth_query, const axutil_env_t *env)
{
	if(auth_query->auth_method)
	{
		AXIS2_FREE(env->allocator, auth_query->auth_method);
	}
	if(auth_query->subject)
	{
		saml_subject_free(auth_query->subject, env);
	}
	AXIS2_FREE(env->allocator, auth_query);
	auth_query = NULL;
}