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 pr...@apache.org on 2006/03/02 15:26:50 UTC

svn commit: r382391 - in /webservices/axis/trunk/c/src/cbindings: IWrapperSoapDeSerializerC.cpp client/CallC.cpp

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;
 }