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:
|
All:
|
||||||
|
|
||||||
- number of fixes to wxPluginManager (Rick Brice, Hans Van Leemputten)
|
- number of fixes to wxPluginManager (Rick Brice, Hans Van Leemputten)
|
||||||
|
- fixed memory leak in wxURL when using a proxy (Steven Van Ingelgem)
|
||||||
|
|
||||||
All (GUI):
|
All (GUI):
|
||||||
|
|
||||||
|
@@ -131,8 +131,8 @@ bool wxURL::ParseURL()
|
|||||||
#if wxUSE_SOCKETS
|
#if wxUSE_SOCKETS
|
||||||
if (m_useProxy)
|
if (m_useProxy)
|
||||||
{
|
{
|
||||||
// We destroy the newly created protocol.
|
// destroy the previously created protocol as we'll be using m_proxy
|
||||||
CleanData();
|
delete m_protocol;
|
||||||
|
|
||||||
// Third, we rebuild the URL.
|
// Third, we rebuild the URL.
|
||||||
m_url = m_protoname + wxT(":");
|
m_url = m_protoname + wxT(":");
|
||||||
|
Reference in New Issue
Block a user