RE: [PHP-WIN] Re: Question about emalloc

From: Date: Fri, 18 Oct 2002 19:04:10 +0000
Subject: RE: [PHP-WIN] Re: Question about emalloc
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-16439@lists.php.net to get a copy of this message
> The result is efreed in that case. RETURN_STRINGL is a macro that assigns > result to return_value and return_value is implicitly efreed by PHP. > That's the only reason you are not getting a warning in that case. For > other stuff that you emalloc but don't assign to return_value, you will > get a warning if you do not efree it. > > -Rasmus OK, thanks for clearing this up for me guys :-) I reckon I might have to check this O'Reilly book out though... regards, Mikey

« previous php.windows (#16439) next »