zlib 1.2.5.1

This commit is contained in:
Mark Adler
2011-09-11 11:04:49 -07:00
parent 9712272c78
commit 10daf0d4d7
55 changed files with 1003 additions and 521 deletions

View File

@@ -91,6 +91,10 @@ local gzFile gz_open(path, fd, mode)
{
gz_statep state;
/* check input */
if (path == NULL)
return NULL;
/* allocate gzFile structure to return */
state = malloc(sizeof(gz_state));
if (state == NULL)