axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From manj...@apache.org
Subject svn commit: r573496 - /webservices/axis2/trunk/c/guththila/src/guththila_buffer.c
Date Fri, 07 Sep 2007 08:05:15 GMT
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


Mime
View raw message