Fix crash when using a proxy (m_protocol already gets cleaned up via CleanData())
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
8bc3ec1ff5
commit
40e32bca6c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user