Avoid uninitialized access by gzclose_w().

This commit is contained in:
Mark Adler
2015-07-28 23:13:53 -07:00
parent 51a223def4
commit c901a34c92
2 changed files with 2 additions and 1 deletions

View File

@@ -47,6 +47,7 @@ local int gz_init(state)
gz_error(state, Z_MEM_ERROR, "out of memory");
return -1;
}
strm->next_in = NULL;
}
/* mark state as initialized */