From f38e6b6a9dd6aa97d14b8477dbd2139aa474aaee Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Sat, 10 Dec 2005 12:16:33 +0000 Subject: [PATCH] - fix leak with class constants --- php_http_std_defs.h | 1 - 1 file changed, 1 deletion(-) 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(); \ } -- 2.30.2