delete-->delete[]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
706fb8932a
commit
6d5a34485b
@ -52,7 +52,7 @@ wxStringInputStream::wxStringInputStream(const wxString& s)
|
||||
wxStringInputStream::~wxStringInputStream()
|
||||
{
|
||||
#if wxUSE_UNICODE
|
||||
delete m_buf;
|
||||
delete[] m_buf;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user