X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5fde6fcc9b551340a194ae4c726db5ab64b5c594..e6adf05834e880312efa3d59914ecc1d4f5f78a6:/src/common/zstream.cpp

diff --git a/src/common/zstream.cpp b/src/common/zstream.cpp
index c83d44a4de..5142f077b6 100644
--- a/src/common/zstream.cpp
+++ b/src/common/zstream.cpp
@@ -159,6 +159,7 @@ wxZlibOutputStream::~wxZlibOutputStream()
   }
 
   deflateEnd(m_deflate);
+  delete m_deflate;
 
   delete[] m_z_buffer;
 }