Re: Bug fix memory leak informix

From: Date: Tue, 06 Aug 2002 18:19:54 +0000
Subject: Re: Bug fix memory leak informix
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-8210@lists.php.net to get a copy of this message
Wim Vinckier wrote: > > Hi, > > When I did a lot of INSERTS, UPDATES and DELETE, I got a pretty serious > memory leak when I used the pear module. Since I had the same experience > with the informix module of PHP, I knew there was a un-freeed result > somewhere. I corrected in ifx.php this way: Oh, thanks for the patch, I've commited it. Btw you perhaps would like to know that now there is a new option "autofree" ($db = DB::connect($dsn, array('autofree' => true)) that automatically free the result after the last fetched row. Tomas V.V.Cox

« previous php.pear.dev (#8210) next »