summaryrefslogtreecommitdiff
path: root/Zend/zend_variables.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-12-27 19:07:33 +0000
committerZeev Suraski <zeev@php.net>1999-12-27 19:07:33 +0000
commitb7a5b3c309ad64ddf9d60cfd3ca21d9f25315d87 (patch)
treec251467f12cd03303f2a1a0f7b3694c7a666f08e /Zend/zend_variables.c
parent27daca31f376a323462aeff76bc1b55bab7d8841 (diff)
downloadphp-git-b7a5b3c309ad64ddf9d60cfd3ca21d9f25315d87.tar.gz
- Generalize the fast cache mechanism
- Add the HashTable struct to the fast cache mechanism
Diffstat (limited to 'Zend/zend_variables.c')
-rw-r--r--Zend/zend_variables.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_variables.c b/Zend/zend_variables.c
index e415aa4e9b..c0fee24ee6 100644
--- a/Zend/zend_variables.c
+++ b/Zend/zend_variables.c
@@ -66,13 +66,13 @@ ZEND_API int _zval_dtor(zval *zvalue ZEND_FILE_LINE_DC)
if (zvalue->value.ht && (zvalue->value.ht != &EG(symbol_table))) {
zend_hash_destroy(zvalue->value.ht);
- efree_rel(zvalue->value.ht);
+ FREE_HASHTABLE(zvalue->value.ht);
}
}
break;
case IS_OBJECT:
zend_hash_destroy(zvalue->value.obj.properties);
- efree_rel(zvalue->value.obj.properties);
+ FREE_HASHTABLE(zvalue->value.obj.properties);
break;
case IS_RESOURCE:
/* destroy resource */