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