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

Re: svn commit: r1182248 - in /subversion/branches/tree-read-api/subversion/libsvn_client: tree.c tree.h

From: Greg Stein <gstein_at_gmail.com>
Date: Wed, 12 Oct 2011 10:56:08 -0400

On Oct 12, 2011 4:02 AM, <julianfoad_at_apache.org> wrote:
>...
> +++ subversion/branches/tree-read-api/subversion/libsvn_client/tree.c Wed
Oct 12 08:01:39 2011
> @@ -334,7 +334,7 @@ wc_tree_get_dir(svn_client_tree_t *tree,
> const char *child_abspath = APR_ARRAY_IDX(children, i, const
char *);
> const char *name = svn_dirent_basename(child_abspath,
scratch_pool);
>
> - apr_hash_set(*dirents, name, APR_HASH_KEY_STRING, (void *)1);
> + apr_hash_set(*dirents, name, APR_HASH_KEY_STRING, name);

Looks like 'name' is in the wrong pool.
Received on 2011-10-12 16:56:44 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.