axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shan...@apache.org
Subject svn commit: r627656 - /webservices/axis2/trunk/c/neethi/src/secpolicy/builder/bootstrap_policy_builder.c
Date Thu, 14 Feb 2008 04:18:44 GMT
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


Mime
View raw message