X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d38315df30415b030d93172123920d69c5c5e3b6..08670ea85abf4b4946a9ce64971b591d7b1ee30b:/src/osx/carbon/dirmac.cpp?ds=sidebyside diff --git a/src/osx/carbon/dirmac.cpp b/src/osx/carbon/dirmac.cpp index 493829f1f6..71e6436625 100644 --- a/src/osx/carbon/dirmac.cpp +++ b/src/osx/carbon/dirmac.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: mac/dirmac.cpp +// Name: src/osx/carbon/dirmac.cpp // Purpose: wxDir implementation for Mac // Author: Stefan Csomor // Modified by: @@ -226,8 +226,7 @@ wxString wxDir::GetName() const wxDir::~wxDir() { - delete m_data; - m_data = NULL; + wxDELETE(m_data); } // ----------------------------------------------------------------------------