summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cachemanager.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cachemanager.cc b/src/cachemanager.cc
index 9536cdf..d047d66 100644
--- a/src/cachemanager.cc
+++ b/src/cachemanager.cc
@@ -62,10 +62,10 @@ void CacheManager::init(size_t poolsize)
localcachepos[i] = 0;
}
+ localcache.resize(poolsize);
for(size_t i = 0; i < poolsize; i++) {
localcache[i] = NULL;
}
- localcache.resize(poolsize);
running = true;
run();