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





-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to