develooper Front page | perl.perl5.porters | Postings from May 2002

Re: perl@16433

From:
Jarkko Hietaniemi
Date:
May 6, 2002 16:34
Subject:
Re: perl@16433
Message ID:
20020507023440.T31692@alpha.hut.fi
On Tue, May 07, 2002 at 02:32:15AM +0300, Jarkko Hietaniemi wrote:
> On Tue, May 07, 2002 at 12:28:06AM +0100, Nicholas Clark wrote:
> > On Tue, May 07, 2002 at 01:34:21AM +0300, Jarkko Hietaniemi wrote:
> > > On Mon, May 06, 2002 at 11:21:47PM +0100, Nicholas Clark wrote:
> > > > On Mon, May 06, 2002 at 05:50:38PM +0300, Jarkko Hietaniemi wrote:
> > > > > - Storable finishing touches [Nicholas]
> > > > 
> > > > As Storable already passes a context object around to make itself thread
> > > > safe, and the leaking problem is only that the malloc()ed buffers:
> > > 
> > > ...and the root context.
> > 
> > Oh
> 
> The Purify dumps show two leaks: the Newz() in the INIT:,
> and the kbuf init.

In the non-multiplicity case the Newz() doesn't take place (instead
a file static is being used), so it's easier (it only has the kbuf
case), but in the multiplicity cases there are those two.  If I'm
reading the code correctly, that is.

-- 
$jhi++; # http://www.iki.fi/jhi/
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About