]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/zstream.cpp
added test for writing empty value to the config
[wxWidgets.git] / src / common / zstream.cpp
index c83d44a4de7fd4a5f755eed55ab4717bbb9350c3..5142f077b660439ed35a150452ccc7ef0ddde860 100644 (file)
@@ -159,6 +159,7 @@ wxZlibOutputStream::~wxZlibOutputStream()
   }
 
   deflateEnd(m_deflate);
   }
 
   deflateEnd(m_deflate);
+  delete m_deflate;
 
   delete[] m_z_buffer;
 }
 
   delete[] m_z_buffer;
 }