]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix crash when using a proxy (m_protocol already gets cleaned up via CleanData())
authorRyan Norton <wxprojects@comcast.net>
Tue, 8 Mar 2005 21:05:39 +0000 (21:05 +0000)
committerRyan Norton <wxprojects@comcast.net>
Tue, 8 Mar 2005 21:05:39 +0000 (21:05 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/url.cpp

index a78708b6ee3e31b9c984ac83d0bf0646ade6ab83..9686971ff94bbd2bf114f0448533905085873a94 100644 (file)
@@ -162,9 +162,6 @@ bool wxURL::ParseURL()
 #if wxUSE_PROTOCOL_HTTP
   if (m_useProxy)
   {
-    // destroy the previously created protocol as we'll be using m_proxy
-    delete m_protocol;
-
     // Third, we rebuild the URL.
     m_url = m_scheme + wxT(":");
     if (m_protoinfo->m_needhost)