diff options
Diffstat (limited to 'ext/phar/zip.c')
-rw-r--r-- | ext/phar/zip.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/phar/zip.c b/ext/phar/zip.c index f8f1d5120f..2fc692c33e 100644 --- a/ext/phar/zip.c +++ b/ext/phar/zip.c @@ -301,11 +301,11 @@ foundit: entry.is_persistent = mydata->is_persistent; #define PHAR_ZIP_FAIL_FREE(errmsg, save) \ zend_hash_destroy(&mydata->manifest); \ - mydata->manifest.arBuckets = 0; \ + mydata->manifest.arHash = 0; \ zend_hash_destroy(&mydata->mounted_dirs); \ - mydata->mounted_dirs.arBuckets = 0; \ + mydata->mounted_dirs.arHash = 0; \ zend_hash_destroy(&mydata->virtual_dirs); \ - mydata->virtual_dirs.arBuckets = 0; \ + mydata->virtual_dirs.arHash = 0; \ php_stream_close(fp); \ if (mydata->metadata) { \ zval_dtor(mydata->metadata); \ @@ -325,11 +325,11 @@ foundit: return FAILURE; #define PHAR_ZIP_FAIL(errmsg) \ zend_hash_destroy(&mydata->manifest); \ - mydata->manifest.arBuckets = 0; \ + mydata->manifest.arHash = 0; \ zend_hash_destroy(&mydata->mounted_dirs); \ - mydata->mounted_dirs.arBuckets = 0; \ + mydata->mounted_dirs.arHash = 0; \ zend_hash_destroy(&mydata->virtual_dirs); \ - mydata->virtual_dirs.arBuckets = 0; \ + mydata->virtual_dirs.arHash = 0; \ php_stream_close(fp); \ if (mydata->metadata) { \ zval_dtor(mydata->metadata); \ |