diff options
author | Zeev Suraski <zeev@php.net> | 2001-07-31 05:44:11 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2001-07-31 05:44:11 +0000 |
commit | aa1772ca7263173ee47af0d83fea866f194757ba (patch) | |
tree | a8ea8932a07875a43423a8ffcd0100eab0c0f8a7 /ext/zip/zip.c | |
parent | 57507b4ea6bb2a38578444ca8359806f241fa8f5 (diff) | |
download | php-git-aa1772ca7263173ee47af0d83fea866f194757ba.tar.gz |
More TSRMLS_FETCH annihilation
Diffstat (limited to 'ext/zip/zip.c')
-rw-r--r-- | ext/zip/zip.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/zip/zip.c b/ext/zip/zip.c index c35258e907..046083ae98 100644 --- a/ext/zip/zip.c +++ b/ext/zip/zip.c @@ -73,16 +73,17 @@ ZEND_GET_MODULE(zip) /* {{{ php_zip_free_dir */ -static void php_zip_free_dir(zend_rsrc_list_entry *rsrc) +static void php_zip_free_dir(zend_rsrc_list_entry *rsrc TSRMLS_DC) { ZZIP_DIR *z_dir = (ZZIP_DIR *) rsrc->ptr; + zzip_closedir(z_dir); } /* }}} */ /* {{{ php_zip_free_entry */ -static void php_zip_free_entry(zend_rsrc_list_entry *rsrc) +static void php_zip_free_entry(zend_rsrc_list_entry *rsrc TSRMLS_DC) { php_zzip_dirent *entry = (php_zzip_dirent *) rsrc->ptr; |