Index: subversion/libsvn_repos/log.c =================================================================== --- subversion/libsvn_repos/log.c (revision 5941) +++ subversion/libsvn_repos/log.c (working copy) @@ -48,6 +48,7 @@ apr_hash_index_t *hi; svn_log_changed_path_t *item; apr_pool_t *subpool = svn_pool_create (pool); + apr_pool_t *scratchpool = svn_pool_create (pool); SVN_ERR (svn_fs_paths_changed (&changes, root, subpool)); for (hi = apr_hash_first (subpool, changes); hi; hi = apr_hash_next (hi)) @@ -58,6 +59,7 @@ const char *path; char action; + svn_pool_clear (scratchpool); /* KEY will be the path, VAL the change. */ apr_hash_this (hi, &key, NULL, &val); path = (const char *) key; @@ -95,7 +97,7 @@ svn_revnum_t copyfrom_rev; SVN_ERR (svn_fs_copied_from (©from_rev, ©from_path, - root, path, subpool)); + root, path, scratchpool)); if (copyfrom_path && SVN_IS_VALID_REVNUM (copyfrom_rev)) { item->copyfrom_path = apr_pstrdup (pool, copyfrom_path); @@ -106,6 +108,7 @@ APR_HASH_KEY_STRING, item); } + svn_pool_destroy (scratchpool); svn_pool_destroy (subpool); return SVN_NO_ERROR; }