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

Re: svn commit: r37646 - trunk/subversion/libsvn_client

From: Greg Stein <gstein_at_gmail.com>
Date: Fri, 8 May 2009 19:11:47 +0200

On Fri, May 8, 2009 at 14:11, Senthil Kumaran S <senthil_at_collab.net> wrote:
>...
> +++ trunk/subversion/libsvn_client/copy.c       Fri May  8 05:11:18 2009        (r37646)
>...
> +  iterpool = svn_pool_create(pool);
> +
>   for (i = 0; i < copy_pairs->nelts; i++)
>     {
>       svn_client__copy_pair_t *pair = APR_ARRAY_IDX(copy_pairs, i,
>                                                     svn_client__copy_pair_t *);
> +      /* Sanity check if the source path is versioned. */
> +      SVN_ERR(svn_wc__entry_versioned(&entry, pair->src, adm_access, FALSE,
> +                                      iterpool));
>       SVN_ERR(svn_path_get_absolute(&pair->src_abs, pair->src, pool));
>     }

You aren't clearing the iterpool.

>...

Cheers,
-g

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2116489
Received on 2009-05-08 19:12:04 CEST

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.