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

Re: pool usage in mergeinfo-sqlite-index.c

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2007-11-16 21:53:40 CET

On Nov 16, 2007 9:41 PM, David Glasser <glasser@davidglasser.net> wrote:
> libsvn_fs_util/mergeinfo-sqlite-index.c contains nine while and for
> loops, and doesn't even #include <svn_pools.h>. I would guess that
> this means that there are memory leaks.

While it does include apr_pools.h, you're correct that it loops
through potentially lots of data without creating subpools and any
form of memory lifetime management. That's incorrect.

bye,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 16 21:54:00 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.