fixed memory leak in wxURL when using a proxy
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -105,6 +105,7 @@ OTHER CHANGES
|
||||
All:
|
||||
|
||||
- number of fixes to wxPluginManager (Rick Brice, Hans Van Leemputten)
|
||||
- fixed memory leak in wxURL when using a proxy (Steven Van Ingelgem)
|
||||
|
||||
All (GUI):
|
||||
|
||||
|
@@ -131,8 +131,8 @@ bool wxURL::ParseURL()
|
||||
#if wxUSE_SOCKETS
|
||||
if (m_useProxy)
|
||||
{
|
||||
// We destroy the newly created protocol.
|
||||
CleanData();
|
||||
// destroy the previously created protocol as we'll be using m_proxy
|
||||
delete m_protocol;
|
||||
|
||||
// Third, we rebuild the URL.
|
||||
m_url = m_protoname + wxT(":");
|
||||
|
Reference in New Issue
Block a user