You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2014/04/20 00:40:11 UTC

svn commit: r1588713 - /subversion/trunk/subversion/libsvn_fs_fs/caching.c

Author: stefan2
Date: Sat Apr 19 22:40:11 2014
New Revision: 1588713

URL: http://svn.apache.org/r1588713
Log:
Follow-up to r1588651: Missed one update causing crash.

* subversion/libsvn_fs_fs/caching.c
  (svn_fs_fs__initialize_caches): Another cache instance that need
                                  FS->POOL lifetime.

Modified:
    subversion/trunk/subversion/libsvn_fs_fs/caching.c

Modified: subversion/trunk/subversion/libsvn_fs_fs/caching.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_fs/caching.c?rev=1588713&r1=1588712&r2=1588713&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_fs/caching.c (original)
+++ subversion/trunk/subversion/libsvn_fs_fs/caching.c Sat Apr 19 22:40:11 2014
@@ -457,7 +457,7 @@ svn_fs_fs__initialize_caches(svn_fs_t *f
                        fs->pool));
 
   /* 1st level DAG node cache */
-  ffd->dag_node_cache = svn_fs_fs__create_dag_cache(pool);
+  ffd->dag_node_cache = svn_fs_fs__create_dag_cache(fs->pool);
 
   /* Very rough estimate: 1K per directory. */
   SVN_ERR(create_cache(&(ffd->dir_cache),