From: Michael Wallner Date: Sat, 10 Dec 2005 12:16:33 +0000 (+0000) Subject: - fix leak with class constants X-Git-Tag: RELEASE_0_20_0~35 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=f38e6b6a9dd6aa97d14b8477dbd2139aa474aaee;p=m6w6%2Fext-http - fix leak with class constants --- diff --git a/php_http_std_defs.h b/php_http_std_defs.h index 489e372..7f65f84 100644 --- a/php_http_std_defs.h +++ b/php_http_std_defs.h @@ -210,7 +210,6 @@ typedef int STATUS; name## _ce = zend_register_internal_class_ex(&ce, parent, NULL TSRMLS_CC); \ name## _ce->ce_flags |= flags; \ memcpy(& name## _handlers, zend_get_std_object_handlers(), sizeof(zend_object_handlers)); \ - zend_hash_init(& name## _ce->constants_table, 0, NULL, ZVAL_INTERNAL_PTR_DTOR, 1); \ name## _declare_default_properties(); \ }