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:
@@ -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()
|
||||
|
Reference in New Issue
Block a user