// Created: 20/07/1997
// RCS-ID: $Id$
// Copyright: (c) 1997, 1998 Guilhem Lavaux
-// Licence: wxWidgets licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#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(":");