You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by na...@apache.org on 2007/08/30 06:59:42 UTC
svn commit: r571040 -
/webservices/axis2/trunk/c/axiom/src/attachments/mime_body_part.c
Author: nandika
Date: Wed Aug 29 21:59:42 2007
New Revision: 571040
URL: http://svn.apache.org/viewvc?rev=571040&view=rev
Log:
memory leak fixed
Modified:
webservices/axis2/trunk/c/axiom/src/attachments/mime_body_part.c
Modified: webservices/axis2/trunk/c/axiom/src/attachments/mime_body_part.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/attachments/mime_body_part.c?rev=571040&r1=571039&r2=571040&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/attachments/mime_body_part.c (original)
+++ webservices/axis2/trunk/c/axiom/src/attachments/mime_body_part.c Wed Aug 29 21:59:42 2007
@@ -210,7 +210,10 @@
{
memcpy(byte_stream + header_str_size,
data_handler_stream, data_handler_stream_size);
+
+ AXIS2_FREE(env->allocator, data_handler_stream);
}
+
*output_stream = byte_stream;
*output_stream_size = size;
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org