[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: SVN::Client -- why does this leak?

From: Malcolm Rowe <malcolm-svn-dev_at_farside.org.uk>
Date: 2006-11-10 10:58:50 CET

On Fri, Nov 10, 2006 at 08:27:41AM +0000, Nik Clayton wrote:
> Ah. So if I have a pool, create an object of type A in it, delete that
> object, and then create a second object of type A in the pool, the pool
> won't reuse the memory allocated for the first object, and will instead
> grow in size?
>

There's no concept of 'deleting an object' within APR's memory pool
scheme, only of clearing/destroying a pool, so yes.

http://subversion.tigris.org/hacking.html#apr-pools might be of some
help.

Regards,
Malcolm

  • application/pgp-signature attachment: stored
Received on Fri Nov 10 10:59:41 2006

This is an archived mail posted to the Subversion Dev mailing list.