X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8d94819c437fdf28c45e9f328e6c38fd1c639ddf..c81394808bf7efd84e4294e44a9a9a7b7f6dd8a9:/src/common/encconv.cpp diff --git a/src/common/encconv.cpp b/src/common/encconv.cpp index a4b7143ff3..fdfa64eb6a 100644 --- a/src/common/encconv.cpp +++ b/src/common/encconv.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: encconv.cpp +// Name: src/common/encconv.cpp // Purpose: wxEncodingConverter class for converting between different // font encodings // Author: Vaclav Slavik @@ -116,7 +116,7 @@ bool wxEncodingConverter::Init(wxFontEncoding input_enc, wxFontEncoding output_e const wxUint16 *in_tbl; const wxUint16 *out_tbl = NULL; - if (m_Table) {delete[] m_Table; m_Table = NULL;} + wxDELETEA(m_Table); if (input_enc == output_enc) {m_JustCopy = true; return true;}