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

Re: svn commit: r13436 - branches/locking/subversion/libsvn_client

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-03-16 22:39:06 CET

On Wed, 16 Mar 2005, Philip Martin wrote:

> lundblad@tigris.org writes:
>
> > Author: lundblad
> > Date: Wed Mar 16 13:05:35 2005
> > New Revision: 13436
>
> > +static svn_error_t *
> > +fetch_tokens (svn_ra_session_t *ra_session, apr_hash_t *path_tokens,
> > + apr_pool_t *pool)
> > +{
> > + apr_hash_index_t *hi;
> > + apr_pool_t *iterpool = svn_pool_create (pool);
> >
> > + for (hi = apr_hash_first (pool, path_tokens); hi; hi = apr_hash_next (hi))
> > + {
> > + const void *key;
> > + const char *path;
> > + svn_lock_t *lock;
> > +
> > + svn_pool_clear (iterpool);
> > + apr_hash_this (hi, &key, NULL, NULL);
> > + path = key;
> > +
> > + svn_ra_get_lock (ra_session, &lock, path, iterpool);
>
> Ignores/leaks the returned svn_error_t.
>
Woops! Thanks! Fixed.

//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Mar 16 22:37:25 2005

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.