Update of /cvsroot/audacity/audacity-src/src In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv8848/src
Modified Files: UploadDialog.cpp Log Message: Fixed bug that caused crash on exit. Index: UploadDialog.cpp =================================================================== RCS file: /cvsroot/audacity/audacity-src/src/UploadDialog.cpp,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- UploadDialog.cpp 8 Aug 2006 06:04:10 -0000 1.15 +++ UploadDialog.cpp 4 Mar 2007 22:21:18 -0000 1.16 @@ -286,7 +286,8 @@ else { wxMessageBox(_("Connection cannot be established"), _("FTP Status"), wxOK | wxICON_INFORMATION, this); - delete ftp; + delete ftp; + ftp = NULL; } SetCursor(wxCURSOR_ARROW); @@ -296,7 +297,9 @@ void UploadDialog::OnDisconnect(wxCommandEvent & WXUNUSED(event)) { - delete ftp; + delete ftp; + ftp = NULL; + btnDisconnect->Enable(false); btnConnect->Enable(true); ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Audacity-cvs mailing list Audacity-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/audacity-cvs