madler/zlib — pull request #23 by dsagal (2012-09-13 05:06:01+00:00)
Title: Fix bug with gzclose of empty streams.

This is a better fix for the bug fixed by change 53bfe01cea647ef6f6b86edbc51d0fad4640e4a6 (to fix gzclose_w() when gzwrite() fails to allocate memory), since the original bug fix broke the gzipping of
empty files.