Index: subversion/svnserve/svnserve.c =================================================================== --- subversion/svnserve/svnserve.c (revision 1470946) +++ subversion/svnserve/svnserve.c (working copy) @@ -987,6 +987,7 @@ while (1) { + apr_pool_t *subpool; #ifdef WIN32 if (winservice_is_stopping()) return ERROR_SUCCESS; @@ -1092,7 +1093,8 @@ particularly sophisticated strategy for a threaded server, it's little different from forking one process per connection. */ #if APR_HAS_THREADS - status = apr_threadattr_create(&tattr, connection_pool); + subpool = svn_pool_create(pool); + status = apr_threadattr_create(&tattr, subpool); if (status) { err = svn_error_wrap_apr(status, _("Can't create threadattr")); @@ -1121,6 +1123,7 @@ svn_error_clear(err); exit(1); } + svn_pool_destroy(subpool); #endif break;