diff options
author | Anatol Belski <ab@php.net> | 2016-09-03 00:01:04 +0200 |
---|---|---|
committer | Ferenc Kovacs <tyra3l@gmail.com> | 2016-09-15 09:53:18 +0200 |
commit | 1d978b7899f460207826fd9d9707604d69cd1f11 (patch) | |
tree | 2a3067b6a750c1d13d43fe850a797be3f9bb9f57 | |
parent | 486056b2153f7177cd8a7c78d93968726ee8fa65 (diff) | |
download | php-git-1d978b7899f460207826fd9d9707604d69cd1f11.tar.gz |
fix double free
-rw-r--r-- | ext/phar/zip.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/phar/zip.c b/ext/phar/zip.c index 2f1d915146..bf895e7dfe 100644 --- a/ext/phar/zip.c +++ b/ext/phar/zip.c @@ -1146,7 +1146,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 */ |