Skip to content

Commit 5efd2a3

Browse files
committed
fix double free
1 parent e576714 commit 5efd2a3

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
@@ -1146,7 +1146,6 @@ static int phar_zip_applysignature(phar_archive_data *phar, struct _phar_zip_pas
11461146

11471147
if (pass->error && *(pass->error)) {
11481148
/* error is set by writeheaders */
1149-
php_stream_close(newfile);
11501149
return FAILURE;
11511150
}
11521151
} /* signature */

0 commit comments

Comments
 (0)