X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7a0079d5a4d1fe6e80cc978d84648fa7bf6fde4a..74a8f67d96591cec101def2a7d47c64072aff7fd:/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; }