Author :
Mark Adler
Date :
2012-10-01 22:42:35
Hash :c4888637 Message :Fix bug in gzclose() when gzwrite() runs out of memory.
If the deflateInit2() called for the first gzwrite() failed with a
Z_MEM_ERROR, then a subsequent gzclose() would try to free an
already freed pointer. This fixes that.