X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7a0079d5a4d1fe6e80cc978d84648fa7bf6fde4a..64ea838d8f4d1853b7d850db93ee565e901d099a:/src/motif/accel.cpp diff --git a/src/motif/accel.cpp b/src/motif/accel.cpp index ba59df93dd..d66f03b8af 100644 --- a/src/motif/accel.cpp +++ b/src/motif/accel.cpp @@ -45,8 +45,7 @@ wxAcceleratorRefData::wxAcceleratorRefData() wxAcceleratorRefData::~wxAcceleratorRefData() { - delete[] m_entries; - m_entries = NULL; + wxDELETEA(m_entries); m_count = 0; }