projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
ca32085
)
- fix leak with class constants
author
Michael Wallner
<mike@php.net>
Sat, 10 Dec 2005 12:16:33 +0000
(12:16 +0000)
committer
Michael Wallner
<mike@php.net>
Sat, 10 Dec 2005 12:16:33 +0000
(12:16 +0000)
php_http_std_defs.h
patch
|
blob
|
history
diff --git
a/php_http_std_defs.h
b/php_http_std_defs.h
index 489e37283ee3b2831b967c34e073766f54d9bbb9..7f65f849442d63dea15382b36563073f03b67ff5 100644
(file)
--- 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(); \
}