projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Syntax fix.
[wxWidgets.git]
/
src
/
common
/
sstream.cpp
diff --git
a/src/common/sstream.cpp
b/src/common/sstream.cpp
index 51d7effef78822e796faa23244002bd8337e5006..4228a8a19e31fd5d0966c98151eba29a4dda3864 100644
(file)
--- a/
src/common/sstream.cpp
+++ b/
src/common/sstream.cpp
@@
-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
}