unread
i have a ZE2 OO extension which declares class constants as follows :
<code> void register_class_long_constant_ex(zend_class_entry * ce, char *key, uint key_len, long lval) { zval *tmp; MAKE_STD_ZVAL(tmp); ZVAL_LONG(tmp, lval); zend_hash_update(&(ce)->constants_table, key, key_len, (void *) &tmp, sizeof(zval *), NULL); } </code>for some reason the memory allocated here by MAKE_STD_ZVL is not reclaimed
at process termination. i get the same problem in cgi as well as cli mode.
any ideas of why cleanup isnt happening properly ?
l0t3k
unread
i dont know why this is just showing up (i sent it at least a day ago), but
Moriyoshi has already identified the issue and possible solution. See the
thread "Registering constants to internal classes (ZE2)"
l0t3k