]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/url.cpp
Fix crash when using a proxy (m_protocol already gets cleaned up via CleanData())
[wxWidgets.git] / 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)