Hi,
currently all memory allocated with emalloc has a
zend_mem_header infront of it. This header contains
the backward and forward pointer and the size of this
block. My question is: is there any need for this
linked list on a production system? I commented the
ADD_POINTER_TO_LIST and
The list is used in order to cleanup any per-request memory leaks (Also in
release mode). It's very much needed.
Andi
At 13:08 23/03/2002 +0100, Stefan Esser wrote:
Hi,
currently all memory allocated with emalloc has a
zend_mem_header infront of it. This header contains
the backward and
On Sat, Mar 23, 2002 at 01:23:41PM +0200, Andi Gutmans wrote:
The list is used in order to cleanup any per-request memory leaks (Also in
release mode). It's very much needed.
Ahhh i see. So it would not be needed if there aren't any memory
leaks anymore. Okay now I understand the use of it.
At 02:08 PM 3/23/2002, Stefan Esser wrote:
Hi,
currently all memory allocated with emalloc has a
zend_mem_header infront of it. This header contains
the backward and forward pointer and the size of this
block. My question is: is there any need for this
linked list on a production system? I