diff options
author | Anatol Belski <ab@php.net> | 2016-09-03 00:01:04 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2016-09-03 00:01:04 +0200 |
commit | 5efd2a33df62d2bcaeeb6c8ff6ef20478f3a5417 (patch) | |
tree | 8d78237d0e8b0bb635705bd51895a43c0d537d5e | |
parent | e576714f6b4829763b797c552217a14e6d30ca59 (diff) | |
download | php-git-5efd2a33df62d2bcaeeb6c8ff6ef20478f3a5417.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 */ |