X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d38315df30415b030d93172123920d69c5c5e3b6..93be446f3a957d9347ebb8b65f2a124c76f4bf68:/src/osx/carbon/dirmac.cpp 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); } // ----------------------------------------------------------------------------