axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prest...@apache.org
Subject svn commit: r382391 - in /webservices/axis/trunk/c/src/cbindings: IWrapperSoapDeSerializerC.cpp client/CallC.cpp
Date Thu, 02 Mar 2006 14:26:50 GMT
Author: prestonf
Date: Thu Mar  2 06:26:36 2006
New Revision: 382391

URL: http://svn.apache.org/viewcvs?rev=382391&view=rev
Log:
Changed code so that the array aa was initialised to a valid object before being used!

Modified:
    webservices/axis/trunk/c/src/cbindings/IWrapperSoapDeSerializerC.cpp
    webservices/axis/trunk/c/src/cbindings/client/CallC.cpp

Modified: webservices/axis/trunk/c/src/cbindings/IWrapperSoapDeSerializerC.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/src/cbindings/IWrapperSoapDeSerializerC.cpp?rev=382391&r1=382390&r2=382391&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/cbindings/IWrapperSoapDeSerializerC.cpp (original)
+++ webservices/axis/trunk/c/src/cbindings/IWrapperSoapDeSerializerC.cpp Thu Mar  2 06:26:36
2006
@@ -48,7 +48,7 @@
 	const AxiscChar * pName, const AxiscChar * pNamespace) {
 	IWrapperSoapDeSerializer *dz = (IWrapperSoapDeSerializer*)wrapperSoapDeSerializer;
 	// TODO: not implemented
-	Axisc_Array* aa;
+	Axisc_Array* aa = new Axisc_Array();
 	memset(aa,0,sizeof(aa));
 	return aa;
 }
@@ -57,7 +57,7 @@
 	const AxiscChar * pName, const AxiscChar * pNamespace) {
 	IWrapperSoapDeSerializer *dz = (IWrapperSoapDeSerializer*)wrapperSoapDeSerializer;
 	// TODO: not implemented
-	Axisc_Array* aa;
+	Axisc_Array* aa = new Axisc_Array();
 	memset(aa,0,sizeof(aa));
 	return aa;
 }

Modified: webservices/axis/trunk/c/src/cbindings/client/CallC.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/src/cbindings/client/CallC.cpp?rev=382391&r1=382390&r2=382391&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/cbindings/client/CallC.cpp (original)
+++ webservices/axis/trunk/c/src/cbindings/client/CallC.cpp Thu Mar  2 06:26:36 2006
@@ -416,7 +416,7 @@
 	void * pCreFunct, void * pDelFunct, void * pSizeFunct, 
 	const AxiscChar * pName, const AxiscChar * pNamespace) {
 	//TODO: Unimplemented
-	Axisc_Array* aa;
+	Axisc_Array* aa = new Axisc_Array();
 	memset(aa,0,sizeof(aa));
 	return aa;
 }
@@ -424,7 +424,7 @@
 AXISC_STORAGE_CLASS_INFO Axisc_Array* axiscGetBasicArrayCall(AXISCHANDLE call, AXISC_XSDTYPE
nType, 
 	const AxiscChar * pName, const AxiscChar * pNamespace) {
 	//TODO: Unimplemented
-	Axisc_Array* aa;
+	Axisc_Array* aa = new Axisc_Array();
 	memset(aa,0,sizeof(aa));
 	return aa;
 }



Mime
View raw message