AXIS2_EXTERN void AXIS2_CALL rp_username_token_free( rp_username_token_t * username_token, const axutil_env_t * env) { if(username_token) { if(--(username_token->ref) > 0) { return; } rp_token_free(username_token->token, env); AXIS2_FREE(env->allocator, username_token); username_token = NULL; } }
AXIS2_EXTERN void AXIS2_CALL rp_x509_token_free( rp_x509_token_t * x509_token, const axutil_env_t * env) { if(x509_token) { if(--(x509_token->ref) > 0) { return; } rp_token_free(x509_token->token, env); AXIS2_FREE(env->allocator, x509_token); x509_token = NULL; } }