axis-c-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject svn commit: r1174638 - /axis/axis2/c/core/trunk/neethi/src/assertion.c
Date Fri, 23 Sep 2011 10:32:59 GMT
Author: damitha
Date: Fri Sep 23 10:32:59 2011
New Revision: 1174638

URL: http://svn.apache.org/viewvc?rev=1174638&view=rev
Log:
Please refer 
https://issues.apache.org/jira/browse/AXIS2C-1562

Modified:
    axis/axis2/c/core/trunk/neethi/src/assertion.c

Modified: axis/axis2/c/core/trunk/neethi/src/assertion.c
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/neethi/src/assertion.c?rev=1174638&r1=1174637&r2=1174638&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/neethi/src/assertion.c (original)
+++ axis/axis2/c/core/trunk/neethi/src/assertion.c Fri Sep 23 10:32:59 2011
@@ -17,6 +17,7 @@
 
 #include <neethi_assertion.h>
 #include <axiom_util.h>
+#include <axiom_node.h>
 #include <rp_x509_token.h>
 #include <rp_property.h>
 #include <rp_layout.h>
@@ -243,6 +244,11 @@ neethi_assertion_free(
                 neethi_assertion->free_func(neethi_assertion->value, env);
             }
         }
+        if(neethi_assertion->node)
+        {
+            axiom_node_free_tree(neethi_assertion->node, env);
+            neethi_assertion->node = NULL;
+        }
         AXIS2_FREE(env->allocator, neethi_assertion);
         neethi_assertion = NULL;
     }



Mime
View raw message