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 di...@apache.org on 2008/03/29 08:06:27 UTC

svn commit: r642512 - /webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/CADBBeanTemplateSource.xsl

Author: dimuthu
Date: Sat Mar 29 00:06:27 2008
New Revision: 642512

URL: http://svn.apache.org/viewvc?rev=642512&view=rev
Log:
Correctind serialization memeory leak pointed out by Floyd Brown <fb...@terahop.com>

Modified:
    webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/CADBBeanTemplateSource.xsl

Modified: webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/CADBBeanTemplateSource.xsl
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/CADBBeanTemplateSource.xsl?rev=642512&r1=642511&r2=642512&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/CADBBeanTemplateSource.xsl (original)
+++ webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/CADBBeanTemplateSource.xsl Sat Mar 29 00:06:27 2008
@@ -4207,10 +4207,10 @@
                    <xsl:if test="@isarray">
                          }
                      }
+                   </xsl:if>
                      <!-- This two should be freed after the loop for array-->
                      AXIS2_FREE(env->allocator,start_input_str);
                      AXIS2_FREE(env->allocator,end_input_str);
-                   </xsl:if>
                  } <!-- else for non nillable -->
 
                  <xsl:if test="$choice">



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org