ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cblec...@apache.org
Subject cvs commit: ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal BeanParamWriter.java
Date Tue, 28 Jun 2005 18:32:36 GMT
cblecken    2005/06/28 11:32:36

  Modified:    c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal
                        BeanParamWriter.java
  Log:
  Small correction to the AXISCPP-674 (Use array deallocator for pointer
  types)
  
  Revision  Changes    Path
  1.79      +1 -1      ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/BeanParamWriter.java
  
  Index: BeanParamWriter.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/BeanParamWriter.java,v
  retrieving revision 1.78
  retrieving revision 1.79
  diff -u -r1.78 -r1.79
  --- BeanParamWriter.java	28 Jun 2005 18:23:20 -0000	1.78
  +++ BeanParamWriter.java	28 Jun 2005 18:32:36 -0000	1.79
  @@ -1188,7 +1188,7 @@
               			} else if (CUtils.isPointerType(attribs[i].getTypeName())) {
               				// found pointer type
               				// System.out.println("Pointer type found " + attribs[i].getTypeName()
+ " " + attribs[i].getParamNameAsMember());
  -            				writer.write("\tdelete "+attribs[i].getParamNameAsMember()+";\n");
  +            				writer.write("\tdelete [] "+attribs[i].getParamNameAsMember()+";\n");
               			}
               		}
               writer.write("}\n");
  
  
  

Mime
View raw message