X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c5d99d7b5c4afa4fba509d751937d5e6cb7b2703..ede3a6d68af66772b4f5f94208b4126bab566cc8:/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 }