misc/libphysfs/archiver_zip.c
branch0.9.24
changeset 13393 ae5d6448c5be
parent 12452 e18cfe90e4e2
--- a/misc/libphysfs/archiver_zip.c	Fri Apr 27 11:19:23 2018 -0400
+++ b/misc/libphysfs/archiver_zip.c	Thu May 17 20:04:07 2018 -0400
@@ -468,6 +468,7 @@
     finfo->io = zip_get_io(origfinfo->io, NULL, finfo->entry);
     GOTO_IF_MACRO(!finfo->io, ERRPASS, failed);
 
+	initializeZStream(&finfo->stream);
     if (finfo->entry->compression_method != COMPMETH_NONE)
     {
         finfo->buffer = (PHYSFS_uint8 *) allocator.Malloc(ZIP_READBUFSIZE);