summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/common/shared_cache.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/shared_cache.hpp b/src/common/shared_cache.hpp
index 50da23a4f2f..178d1001be3 100644
--- a/src/common/shared_cache.hpp
+++ b/src/common/shared_cache.hpp
@@ -101,7 +101,7 @@ public:
{
Mutex::Locker l(lock);
max_size = new_size;
- trim_cache(to_release);
+ trim_cache(&to_release);
}
}