fixed a huge memory leak in wxStreamBuffer

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2002-01-13 00:05:37 +00:00
parent 79d26b329e
commit d4b45f48c6

View File

@@ -68,8 +68,8 @@ void wxStreamBuffer::InitBuffer()
m_buffer_pos = NULL;
m_buffer_size = 0;
// there is nothing to destroy anyhow
m_destroybuf = FALSE;
// if we are going to allocate the buffer, we should free it later as well
m_destroybuf = TRUE;
}
void wxStreamBuffer::Init()