]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/sstream.cpp
Lock whole screen when popup is open under GTK+.
[wxWidgets.git] / src / common / sstream.cpp
index cd9a0a1cdcf6adccec1c4fd6ef2362eccec23279..4228a8a19e31fd5d0966c98151eba29a4dda3864 100644 (file)
@@ -52,7 +52,8 @@ wxStringInputStream::wxStringInputStream(const wxString& s)
 wxStringInputStream::~wxStringInputStream()
 {
 #if wxUSE_UNICODE
-    delete[] m_buf;
+    // Note: wx[W]CharBuffer uses malloc()/free()
+    free(m_buf);
 #endif
 }