]>
git.saurik.com Git - wxWidgets.git/blobdiff - src/common/fileback.cpp
delete m_stream;
m_stream = NULL;
if (count > 0) {
- delete m_buf;
+ delete[] m_buf;
m_buf = NULL;
m_buflen = 0;
}
m_buflen = 0;
if (!m_stream) {
- delete m_buf;
+ delete[] m_buf;
m_buf = NULL;
}
}