X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4bc1afd502a0f6f31bddb349a63f41a828f54ded..d0af5538d676fdc5f7620233ee24f43832b80bff:/src/common/textcmn.cpp?ds=inline diff --git a/src/common/textcmn.cpp b/src/common/textcmn.cpp index 1686e5c91e..4d0f086530 100644 --- a/src/common/textcmn.cpp +++ b/src/common/textcmn.cpp @@ -64,7 +64,7 @@ wxTextCtrlBase::~wxTextCtrlBase() { #ifndef NO_TEXT_WINDOW_STREAM #if !wxUSE_IOSTREAMH - delete m_streambuf; + delete[] m_streambuf; #endif #endif }