You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by ma...@apache.org on 2007/09/07 10:05:15 UTC
svn commit: r573496 -
/webservices/axis2/trunk/c/guththila/src/guththila_buffer.c
Author: manjula
Date: Fri Sep 7 01:05:15 2007
New Revision: 573496
URL: http://svn.apache.org/viewvc?rev=573496&view=rev
Log:
Giving the responsibility of the buffer, which is used to create the
om model to the user.
Modified:
webservices/axis2/trunk/c/guththila/src/guththila_buffer.c
Modified: webservices/axis2/trunk/c/guththila/src/guththila_buffer.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/guththila/src/guththila_buffer.c?rev=573496&r1=573495&r2=573496&view=diff
==============================================================================
--- webservices/axis2/trunk/c/guththila/src/guththila_buffer.c (original)
+++ webservices/axis2/trunk/c/guththila/src/guththila_buffer.c Fri Sep 7 01:05:15 2007
@@ -42,7 +42,10 @@
{
int i = 0;
if (buffer->type == GUTHTHILA_SINGLE_BUFFER && buffer->buff && buffer->cur_buff == 0) {
- if (buffer->buff[0]) AXIS2_FREE(env->allocator, buffer->buff[0]);
+
+ /*This is commented. because the ownership of the buffer is with the user. */
+
+ /*if (buffer->buff[0]) AXIS2_FREE(env->allocator, buffer->buff[0]);*/
if (buffer->buffs_size) AXIS2_FREE(env->allocator, buffer->buffs_size);
if (buffer->data_size) AXIS2_FREE(env->allocator, buffer->data_size);
AXIS2_FREE(env->allocator, buffer->buff);
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org