Re: [ZEND-ENGINE-CVS] cvs: Zend(PHP_4_3) / zend_highlight.c

From: Date: Fri, 07 Mar 2003 06:56:37 +0000
Subject: Re: [ZEND-ENGINE-CVS] cvs: Zend(PHP_4_3) / zend_highlight.c
References: 1  Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-1021@lists.php.net to get a copy of this message
I don't think that's enough reason to revisit the leaks. Please leave the part as is unless fujimoto@php.net, who is reponsible for it, agrees your option. Try configuring --enable-mbstring --enable-zend-multibyte and you'll see why I need that.. Moriyoshi "Ilia A." <ilia@prohost.org> wrote: > On March 6, 2003 04:40 pm, Moriyoshi Koizumi wrote: > > "Ilia Alshanetsky" <ilia@prohost.org> wrote: > > > -#ifdef ZEND_MULTIBYTE > > > - if (LANG_SCNG(code)) { > > > - efree(LANG_SCNG(code)); > > > - } > > > - if (LANG_SCNG(current_code)) { > > > - efree(LANG_SCNG(current_code)); > > > + prev_space = token.type = 0; > > > } > > > -#endif /* ZEND_MULTIBYTE */ > > > > Why did you eliminate this part? > > There is very little harm in letting this leak(?) happen simply because once > the zend_strip() is call the code exits and memory cleanup will be done for > us. If the decision is made to add ZEND_FUNCTION(strip_source) or something > to that affect, then we can re-introduce this back into the code. > > Ilia >

« previous php.zend-engine.cvs (#1021) next »