]> git.saurik.com Git - wxWidgets.git/commitdiff
delete-->delete[]
authorRyan Norton <wxprojects@comcast.net>
Mon, 22 Nov 2004 16:02:26 +0000 (16:02 +0000)
committerRyan Norton <wxprojects@comcast.net>
Mon, 22 Nov 2004 16:02:26 +0000 (16:02 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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
 }