X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/142ae7b38820a89864bf4132ecb78c3d1152a253..8ba4faba4de4af7613911d83263b9470e5bb1207:/src/msw/dialup.cpp diff --git a/src/msw/dialup.cpp b/src/msw/dialup.cpp index b006bdbf37..7b536c9e9e 100644 --- a/src/msw/dialup.cpp +++ b/src/msw/dialup.cpp @@ -597,11 +597,7 @@ void wxDialUpManagerMSW::CleanUpThreadData() m_hThread = 0; } - if ( m_data ) - { - delete m_data; - m_data = NULL; - } + wxDELETE(m_data); } // ----------------------------------------------------------------------------