diff options
author | Peter Wemm <peter@FreeBSD.org> | 2013-11-11 01:00:29 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 2013-11-11 01:00:29 +0000 |
commit | 6573976d8d3ffbe3d00487ebc8c11e3eb4033f17 (patch) | |
tree | c05673887167c7ecd55a62ed72830f5186f453c1 /subversion/libsvn_fs | |
parent | 97551b2898eb459e9b616947d87d026d27b61518 (diff) |
Diffstat (limited to 'subversion/libsvn_fs')
-rw-r--r-- | subversion/libsvn_fs/fs-loader.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/subversion/libsvn_fs/fs-loader.c b/subversion/libsvn_fs/fs-loader.c index 01d6ba1afc12c..336b84f7bb62f 100644 --- a/subversion/libsvn_fs/fs-loader.c +++ b/subversion/libsvn_fs/fs-loader.c @@ -81,7 +81,8 @@ static struct fs_type_defn base_defn = #else NULL, #endif - NULL + NULL /* End of static list: this needs to be reset to NULL if the + common_pool used when setting it has been cleared. */ }; static struct fs_type_defn fsfs_defn = @@ -355,6 +356,7 @@ svn_fs_initialize(apr_pool_t *pool) return SVN_NO_ERROR; common_pool = svn_pool_create(pool); + base_defn.next = NULL; SVN_ERR(svn_mutex__init(&common_pool_lock, TRUE, common_pool)); /* ### This won't work if POOL is NULL and libsvn_fs is loaded as a DSO |