summaryrefslogtreecommitdiff
path: root/zdeflate.cpp
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2007-08-13 23:55:05 +0000
committerweidai <weidai11@users.noreply.github.com>2007-08-13 23:55:05 +0000
commitd831dd8e8534c9b3c668dd5497956d8b56f2c7cb (patch)
treecc49f245e3cb95a6458b5a8ea55fc608166e214f /zdeflate.cpp
parent994090ba9c500ccf28c2138659e78827e07d2f56 (diff)
downloadcryptopp-git-d831dd8e8534c9b3c668dd5497956d8b56f2c7cb.tar.gz
fix valgrind issues reported by Chris Morgan
Diffstat (limited to 'zdeflate.cpp')
-rw-r--r--zdeflate.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/zdeflate.cpp b/zdeflate.cpp
index 426e438a..ae5e1a76 100644
--- a/zdeflate.cpp
+++ b/zdeflate.cpp
@@ -221,6 +221,7 @@ Deflator::Deflator(BufferedTransformation *attachment, int deflateLevel, int log
Deflator::Deflator(const NameValuePairs &parameters, BufferedTransformation *attachment)
: LowFirstBitWriter(attachment)
+ , m_deflateLevel(-1)
{
InitializeStaticEncoders();
IsolatedInitialize(parameters);