Re: zend_class_entry memory leak ?
| From: | (Marcus Börger) | Date: | Sun, 13 Apr 2003 10:33:21 +0000 |
| Subject: | Re: zend_class_entry memory leak ? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-885@lists.php.net to get a copy of this message | ||
At 09:13 13.04.2003, l0t3k wrote:
i have the following code to register class constants : [...] on shutdown, i get a report of a leak at MAKE_STD_ZVAL, once for each constant defined. am i doing something wrong, or is the class constant table not properly destructed ?You should use internal classes and do everything that needs memory with malloc/realoc/free instead of the e functions. The problem is the shutdown sequence. marcus