X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4bc1afd502a0f6f31bddb349a63f41a828f54ded..22e0f69977362c8abfeac7b53619d74d4e445ac7:/src/common/textcmn.cpp?ds=sidebyside 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 }