]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/textcmn.cpp
More contrib compilation fixes & makefiles
[wxWidgets.git] / src / common / textcmn.cpp
index 1686e5c91ee83841bcc09ddb9c433fcac53ec78c..4d0f086530ab00baa677d090fa410531536e42b2 100644 (file)
@@ -64,7 +64,7 @@ wxTextCtrlBase::~wxTextCtrlBase()
 {
 #ifndef NO_TEXT_WINDOW_STREAM
 #if !wxUSE_IOSTREAMH
-  delete m_streambuf;
+  delete[] m_streambuf;
 #endif
 #endif
 }