X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/142ae7b38820a89864bf4132ecb78c3d1152a253..f0e5d5d22ce012e9312a63175d79c0f4a8d444be:/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); } // ----------------------------------------------------------------------------