Author: stsp
Date: Wed Nov 27 14:56:24 2013
New Revision: 1546055
URL: http://svn.apache.org/r1546055
Log:
On the verify-keep-going branch:
* subversion/libsvn_repos/dump.c
(populate_summary): Rename scratch_pool parameter to result_pool.
Data allocated in this pool is used by the caller.
Modified:
subversion/branches/verify-keep-going/subversion/libsvn_repos/dump.c
Modified: subversion/branches/verify-keep-going/subversion/libsvn_repos/dump.c
URL:
http://svn.apache.org/viewvc/subversion/branches/verify-keep-going/subversion/libsvn_repos/dump.c?rev=1546055&r1=1546054&r2=1546055&view=diff
==============================================================================
--- subversion/branches/verify-keep-going/subversion/libsvn_repos/dump.c
(original)
+++ subversion/branches/verify-keep-going/subversion/libsvn_repos/dump.c Wed
Nov 27 14:56:24 2013
@@ -2174,14 +2174,14 @@ static void
populate_summary(apr_array_header_t **error_summary,
svn_revnum_t rev,
svn_error_t *err,
- apr_pool_t *scratch_pool)
+ apr_pool_t *result_pool)
{
- struct error_list *el = apr_palloc(scratch_pool, sizeof(*el));
+ struct error_list *el = apr_palloc(result_pool, sizeof(*el));
el->rev = rev;
el->err = svn_error_dup(err);
- apr_pool_cleanup_register(scratch_pool, el->err, err_cleanup,
+ apr_pool_cleanup_register(result_pool, el->err, err_cleanup,
apr_pool_cleanup_null);
APR_ARRAY_PUSH(*error_summary, struct error_list *) = el;
}