summaryrefslogtreecommitdiff
path: root/php/src
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2003-07-24 04:12:26 +0000
committerMark Spruiell <mes@zeroc.com>2003-07-24 04:12:26 +0000
commitbe03bf05aaabc14038b47656ed44593d7ed37246 (patch)
tree854fb1ae820d81cda40dff0871a91c7bc981b305 /php/src
parentmove factory registration to marshal; memory mgmt fixes (diff)
downloadice-be03bf05aaabc14038b47656ed44593d7ed37246.tar.bz2
ice-be03bf05aaabc14038b47656ed44593d7ed37246.tar.xz
ice-be03bf05aaabc14038b47656ed44593d7ed37246.zip
minor fix
Diffstat (limited to 'php/src')
-rw-r--r--php/src/ice/util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/php/src/ice/util.cpp b/php/src/ice/util.cpp
index 23dc7bf8dca..8711c8793fd 100644
--- a/php/src/ice/util.cpp
+++ b/php/src/ice/util.cpp
@@ -91,7 +91,7 @@ ice_newObject(zend_class_entry* ce TSRMLS_DC)
obj->zobj.in_set = 0;
obj->ptr = 0;
- ALLOC_HASHTABLE(obj->zobj.properties);
+ obj->zobj.properties = static_cast<HashTable*>(emalloc(sizeof(HashTable)));
zend_hash_init(obj->zobj.properties, 0, NULL, ZVAL_PTR_DTOR, 0);
zend_hash_copy(obj->zobj.properties, &ce->default_properties, (copy_ctor_func_t) zval_add_ref, &tmp,
sizeof(zval*));