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/07 10:07:44 UTC
svn commit: r573497 -
/webservices/rampart/trunk/c/src/omxmlsec/xml_encryption.c
Author: manjula
Date: Fri Sep 7 01:07:44 2007
New Revision: 573497
URL: http://svn.apache.org/viewvc?rev=573497&view=rev
Log:
Fixing the memory leak due to a change in guththila.
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=573497&r1=573496&r2=573497&view=diff
==============================================================================
--- webservices/rampart/trunk/c/src/omxmlsec/xml_encryption.c (original)
+++ webservices/rampart/trunk/c/src/omxmlsec/xml_encryption.c Fri Sep 7 01:07:44 2007
@@ -346,9 +346,8 @@
oxs_buffer_free(result_buf, env);
result_buf = NULL;
- /*We do not need this now the parser takes the ownership of the buffer.*/
- /*AXIS2_FREE(env->allocator, decrypted_data);
- decrypted_data = NULL;*/
+ AXIS2_FREE(env->allocator, decrypted_data);
+ decrypted_data = NULL;
return AXIS2_SUCCESS;
}