X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c5d99d7b5c4afa4fba509d751937d5e6cb7b2703..4791fafb6d69dda73abc0a92c6a9ab19ce13801a:/src/common/sstream.cpp diff --git a/src/common/sstream.cpp b/src/common/sstream.cpp index 51d7effef7..4228a8a19e 100644 --- a/src/common/sstream.cpp +++ b/src/common/sstream.cpp @@ -52,7 +52,8 @@ wxStringInputStream::wxStringInputStream(const wxString& s) wxStringInputStream::~wxStringInputStream() { #if wxUSE_UNICODE - delete m_buf; + // Note: wx[W]CharBuffer uses malloc()/free() + free(m_buf); #endif }