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/01/11 15:16:20 UTC

svn commit: r368025 - /webservices/axis/trunk/c/src/transport/axis3/HTTPTransport.cpp

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;
+	}
 }
 
 /*