a fix for new wu-ftpd
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -478,6 +478,8 @@ public:
|
|||||||
|
|
||||||
virtual ~wxInputFTPStream()
|
virtual ~wxInputFTPStream()
|
||||||
{
|
{
|
||||||
|
delete m_i_socket;
|
||||||
|
|
||||||
if ( LastError() == wxStream_NOERROR )
|
if ( LastError() == wxStream_NOERROR )
|
||||||
{
|
{
|
||||||
// wait for "226 transfer completed"
|
// wait for "226 transfer completed"
|
||||||
@@ -489,8 +491,6 @@ public:
|
|||||||
{
|
{
|
||||||
m_ftp->Abort();
|
m_ftp->Abort();
|
||||||
}
|
}
|
||||||
|
|
||||||
delete m_i_socket;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
wxFTP *m_ftp;
|
wxFTP *m_ftp;
|
||||||
|
Reference in New Issue
Block a user