]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed memory deallocation
authorVáclav Slavík <vslavik@fastmail.fm>
Tue, 9 Nov 2004 10:29:47 +0000 (10:29 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Tue, 9 Nov 2004 10:29:47 +0000 (10:29 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/streams/zlibstream.cpp

index f70ff1e0e20d06eab8de2c0c90a6cf850efbf2be..56d0e2397801430f38c6120dae21136ce00b2622 100644 (file)
@@ -176,7 +176,7 @@ zlibStream::zlibStream()
 
 zlibStream::~zlibStream()
 {
 
 zlibStream::~zlibStream()
 {
-    delete m_pCompressedData;
+    delete[] m_pCompressedData;
 
     delete m_pTmpMemInStream;
     delete m_pTmpMemOutStream;
 
     delete m_pTmpMemInStream;
     delete m_pTmpMemOutStream;