From: Ramiro Polla Date: Thu, 15 Jul 2010 17:39:45 +0000 (-0300) Subject: Close file opened with gzdopen() X-Git-Tag: v3.1~190 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b37137c5143b9e8e7dbbf2bae83cff1a4cf483ae;p=thirdparty%2Fccache.git Close file opened with gzdopen() --- diff --git a/util.c b/util.c index cb58c0a6d..0c8b1d8cb 100644 --- a/util.c +++ b/util.c @@ -161,6 +161,8 @@ void copy_fd(int fd_in, int fd_out) fatal("Failed to copy fd"); } } + + gzclose(gz_in); } #ifndef HAVE_MKSTEMP