aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/zlib.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/zlib.cpp b/common/zlib.cpp
index b047586af0..71a25bd951 100644
--- a/common/zlib.cpp
+++ b/common/zlib.cpp
@@ -76,6 +76,8 @@ public:
_stream.zalloc = Z_NULL;
_stream.zfree = Z_NULL;
_stream.opaque = Z_NULL;
+ _stream.avail_in = 0;
+ _stream.next_in = Z_NULL;
// Verify file header is correct
w->seek(0, SEEK_SET);