subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1588713 - /subversion/trunk/subversion/libsvn_fs_fs/caching.c
Date Sat, 19 Apr 2014 22:40:11 GMT
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),



Mime
View raw message