summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/phar/zip.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/phar/zip.c b/ext/phar/zip.c
index 427b894288..18e47aaa16 100644
--- a/ext/phar/zip.c
+++ b/ext/phar/zip.c
@@ -1170,7 +1170,6 @@ static int phar_zip_applysignature(phar_archive_data *phar, struct _phar_zip_pas
if (pass->error && *(pass->error)) {
/* error is set by writeheaders */
- php_stream_close(newfile);
return FAILURE;
}
} /* signature */