Correct malloc()/delete[] mismatch.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon
2005-01-05 07:29:24 +00:00
parent fcbeab2fd8
commit da6e77b8d6

View 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
}