X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c5d99d7b5c4afa4fba509d751937d5e6cb7b2703..7596e51dbc3b7d65411fbe708c8aafb13ee26701:/src/common/sstream.cpp

diff --git a/src/common/sstream.cpp b/src/common/sstream.cpp
index 51d7effef7..cd9a0a1cdc 100644
--- a/src/common/sstream.cpp
+++ b/src/common/sstream.cpp
@@ -52,7 +52,7 @@ wxStringInputStream::wxStringInputStream(const wxString& s)
 wxStringInputStream::~wxStringInputStream()
 {
 #if wxUSE_UNICODE
-    delete m_buf;
+    delete[] m_buf;
 #endif
 }