]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/sstream.cpp
Backed-out PNG8 patch (no time to look at why
[wxWidgets.git] / src / common / sstream.cpp
index 51d7effef78822e796faa23244002bd8337e5006..cd9a0a1cdcf6adccec1c4fd6ef2362eccec23279 100644 (file)
@@ -52,7 +52,7 @@ wxStringInputStream::wxStringInputStream(const wxString& s)
 wxStringInputStream::~wxStringInputStream()
 {
 #if wxUSE_UNICODE
-    delete m_buf;
+    delete[] m_buf;
 #endif
 }