Re: [PHP-DEV] [PATCH] Memory leak reported by ccmalloc

2003-08-25 Thread Marcus Börger
Hello Vesselin, Monday, August 25, 2003, 9:10:09 AM, you wrote: VA> Hello. VA> I compiled PHP with ccmalloc (a memory leak detector) and it reported two memory leaks. VA> Here is a patch that meakes the leak reports go away. Actually only the first two VA> allocations (GLOBAL_FUNCTION_TABLE and

[PHP-DEV] [PATCH] Memory leak reported by ccmalloc

2003-08-25 Thread Vesselin Atanasov
Hello. I compiled PHP with ccmalloc (a memory leak detector) and it reported two memory leaks. Here is a patch that meakes the leak reports go away. Actually only the first two allocations (GLOBAL_FUNCTION_TABLE and GLOBAL_CLASS_TABLE) are reported by ccmalloc, but I think that GLOBAL_CONSTANTS_TAB