You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by ma...@apache.org on 2007/09/10 12:39:52 UTC

svn commit: r574200 - /webservices/rampart/trunk/c/src/omxmlsec/xml_encryption.c

Author: manjula
Date: Mon Sep 10 03:39:44 2007
New Revision: 574200

URL: http://svn.apache.org/viewvc?rev=574200&view=rev
Log:
Freeing the detached node after encrypting.

Modified:
    webservices/rampart/trunk/c/src/omxmlsec/xml_encryption.c

Modified: webservices/rampart/trunk/c/src/omxmlsec/xml_encryption.c
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/src/omxmlsec/xml_encryption.c?rev=574200&r1=574199&r2=574200&view=diff
==============================================================================
--- webservices/rampart/trunk/c/src/omxmlsec/xml_encryption.c (original)
+++ webservices/rampart/trunk/c/src/omxmlsec/xml_encryption.c Mon Sep 10 03:39:44 2007
@@ -248,6 +248,8 @@
     /*Remove the node from the parent*/
     if(AXIS2_SUCCESS == ret){
         axiom_node_detach(node, env);
+        axiom_node_free_tree(node, env);
+        node = NULL;
     }
     /*Free*/
     oxs_buffer_free(serialized_buf, env);