Author: stefan2
Date: Sun Jan 5 13:09:02 2014
New Revision: 1555491
URL: http://svn.apache.org/r1555491
Log:
Fix svn_fs_close_root() for FSFS transaction roots.
* subversion/libsvn_fs_fs/tree.c
(make_txn_root): Make sure the cache lifetime does not exceed
the root lifetime.
Modified:
subversion/trunk/subversion/libsvn_fs_fs/tree.c
Modified: subversion/trunk/subversion/libsvn_fs_fs/tree.c
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_fs/tree.c?rev=1555491&r1=1555490&r2=1555491&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_fs/tree.c (original)
+++ subversion/trunk/subversion/libsvn_fs_fs/tree.c Sun Jan 5 13:09:02 2014
@@ -4439,7 +4439,7 @@ make_txn_root(svn_fs_root_t **root_p,
Note that we cannot put those caches in frd because that content
fs root object is not available where we would need it. */
- SVN_ERR(svn_fs_fs__initialize_txn_caches(fs, root->txn, pool));
+ SVN_ERR(svn_fs_fs__initialize_txn_caches(fs, root->txn, root->pool));
root->fsap_data = frd;