axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prest...@apache.org
Subject svn commit: r368025 - /webservices/axis/trunk/c/src/transport/axis3/HTTPTransport.cpp
Date Wed, 11 Jan 2006 14:16:20 GMT
Author: prestonf
Date: Wed Jan 11 06:16:14 2006
New Revision: 368025

URL: http://svn.apache.org/viewcvs?rev=368025&view=rev
Log:
Aditional lines added to check m_pszRxBuffer is not null before attempting to delete it.

Modified:
    webservices/axis/trunk/c/src/transport/axis3/HTTPTransport.cpp

Modified: webservices/axis/trunk/c/src/transport/axis3/HTTPTransport.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/src/transport/axis3/HTTPTransport.cpp?rev=368025&r1=368024&r2=368025&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/transport/axis3/HTTPTransport.cpp (original)
+++ webservices/axis/trunk/c/src/transport/axis3/HTTPTransport.cpp Wed Jan 11 06:16:14 2006
@@ -120,7 +120,10 @@
 		m_pChannelFactory = 0;
 	}
 
-	delete [] m_pszRxBuffer;
+	if( m_pszRxBuffer)
+	{
+		delete [] m_pszRxBuffer;
+	}
 }
 
 /*



Mime
View raw message