On Oct 12, 2011 4:02 AM, <julianf...@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.

Reply via email to