summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/phar/phar.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/phar/phar.c b/ext/phar/phar.c
index 87cf5489b1..e62e8ae818 100644
--- a/ext/phar/phar.c
+++ b/ext/phar/phar.c
@@ -102,6 +102,8 @@ static zend_class_entry *php_archive_entry_ptr;
static void destroy_phar_data(void *pDest) /* {{{ */
{
+ TSRMLS_FETCH();
+
phar_file_data *data = (phar_file_data *) pDest;
efree(data->alias);
zend_hash_destroy(data->manifest);