You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sh...@apache.org on 2008/02/14 05:18:44 UTC
svn commit: r627656 -
/webservices/axis2/trunk/c/neethi/src/secpolicy/builder/bootstrap_policy_builder.c
Author: shankar
Date: Wed Feb 13 20:18:42 2008
New Revision: 627656
URL: http://svn.apache.org/viewvc?rev=627656&view=rev
Log:
memory leak fix in bootstrap policy
Modified:
webservices/axis2/trunk/c/neethi/src/secpolicy/builder/bootstrap_policy_builder.c
Modified: webservices/axis2/trunk/c/neethi/src/secpolicy/builder/bootstrap_policy_builder.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/neethi/src/secpolicy/builder/bootstrap_policy_builder.c?rev=627656&r1=627655&r2=627656&view=diff
==============================================================================
--- webservices/axis2/trunk/c/neethi/src/secpolicy/builder/bootstrap_policy_builder.c (original)
+++ webservices/axis2/trunk/c/neethi/src/secpolicy/builder/bootstrap_policy_builder.c Wed Feb 13 20:18:42 2008
@@ -33,7 +33,6 @@
axiom_node_t *child_node = NULL;
axiom_element_t *child_element = NULL;
neethi_assertion_t *assertion = NULL;
- neethi_policy_t *normalized_policy = NULL;
child_node = axiom_node_get_first_element(node, env);
if (!child_node)
@@ -52,14 +51,9 @@
{
return NULL;
}
- normalized_policy =
- neethi_engine_get_normalize(env, AXIS2_FALSE, policy);
- neethi_policy_free(policy, env);
- policy = NULL;
-
assertion = neethi_assertion_create_with_args(env,
NULL, /*this policy should not be deleted*/
- normalized_policy,
+ policy,
ASSERTION_TYPE_BOOTSTRAP_POLICY);
return assertion;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org