]> git.saurik.com Git - wxWidgets.git/commitdiff
memory leak in wxZlibOutputStream fixed
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 4 Apr 2001 02:57:05 +0000 (02:57 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 4 Apr 2001 02:57:05 +0000 (02:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/zstream.cpp

index c83d44a4de7fd4a5f755eed55ab4717bbb9350c3..5142f077b660439ed35a150452ccc7ef0ddde860 100644 (file)
@@ -159,6 +159,7 @@ wxZlibOutputStream::~wxZlibOutputStream()
   }
 
   deflateEnd(m_deflate);
+  delete m_deflate;
 
   delete[] m_z_buffer;
 }