]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dialup.cpp
Fixed filename in wxOSX-Cocoa's file dialog using extension of wrong file type.
[wxWidgets.git] / src / msw / dialup.cpp
index b006bdbf37e25a953185c149c4d1c85f987ca3d5..7b536c9e9e9d83cc3af01965a2388d442932d360 100644 (file)
@@ -597,11 +597,7 @@ void wxDialUpManagerMSW::CleanUpThreadData()
         m_hThread = 0;
     }
 
-    if ( m_data )
-    {
-        delete m_data;
-        m_data = NULL;
-    }
+    wxDELETE(m_data);
 }
 
 // ----------------------------------------------------------------------------