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/06 11:29:21 UTC
svn commit: r573197 -
/webservices/rampart/trunk/c/src/omxmlsec/xml_encryption.c
Author: manjula
Date: Thu Sep 6 02:29:21 2007
New Revision: 573197
URL: http://svn.apache.org/viewvc?rev=573197&view=rev
Log:
Commenting the decrypt buffer free , because now it is freed by the parser.
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=573197&r1=573196&r2=573197&view=diff
==============================================================================
--- webservices/rampart/trunk/c/src/omxmlsec/xml_encryption.c (original)
+++ webservices/rampart/trunk/c/src/omxmlsec/xml_encryption.c Thu Sep 6 02:29:21 2007
@@ -346,8 +346,9 @@
oxs_buffer_free(result_buf, env);
result_buf = NULL;
- AXIS2_FREE(env->allocator, decrypted_data);
- decrypted_data = NULL;
+ /*We do not need this now the parser takes the ownership of the buffer.*/
+ /*AXIS2_FREE(env->allocator, decrypted_data);
+ decrypted_data = NULL;*/
return AXIS2_SUCCESS;
}