Skip to content

Commit 7483acf

Browse files
committed
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6: fix double free
2 parents e14b14d + 5efd2a3 commit 7483acf

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

ext/phar/zip.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1171,7 +1171,6 @@ static int phar_zip_applysignature(phar_archive_data *phar, struct _phar_zip_pas
11711171

11721172
if (pass->error && *(pass->error)) {
11731173
/* error is set by writeheaders */
1174-
php_stream_close(newfile);
11751174
return FAILURE;
11761175
}
11771176
} /* signature */

0 commit comments

Comments
 (0)