I don't see this message in the archive, so I am sending it again. Begin forwarded message: > From: David Binger> Date: May 12, 2006 2:28:22 PM EDT > To: Jesus Cea > Cc: durus list > Subject: Re: [Durus-users] Memory leak: Minimal bugfix in > "_persistent.c" > > > On May 12, 2006, at 1:14 PM, Jesus Cea wrote: > >> Looking at (not yet studying it :) the new Durus 3.4 code, I see a >> small >> bug: > > Nice work. We verified the leak and applied the following patch to > the distribution > tarball. > > Anybody that downloaded a 3.4 tarball before now should get a new > copy. > > > > > Modified: trunk/durus/__init__.py > =================================================================== > --- trunk/durus/__init__.py 2006-05-12 15:48:05 UTC (rev 28365) > +++ trunk/durus/__init__.py 2006-05-12 18:21:35 UTC (rev 28366) > @@ -1,4 +1,6 @@ > -"""$URL$ > +""" > +$URL$ > $Id$ > Copyright (c) Corporation for National Research Initiatives 2004. > All Rights Reserved. > """ > +__version__ = '3.4' > > Modified: trunk/durus/_persistent.c > =================================================================== > --- trunk/durus/_persistent.c 2006-05-12 15:48:05 UTC (rev 28365) > +++ trunk/durus/_persistent.c 2006-05-12 18:21:35 UTC (rev 28366) > @@ -103,6 +103,7 @@ > } > connection = self->p_connection; > if (connection != Py_None) { > + Py_DECREF(self->p_touched); > self->p_touched = ((ConnectionBaseObject*)connection)->sync_count; > Py_INCREF(self->p_touched); > } > > > _______________________________________________ > Durus-users mailing list > Durus-users@mems-exchange.org > http://mail.mems-exchange.org/mailman/listinfo/durus-users