summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/util/memcache.c1
-rw-r--r--lib/util/memcache.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/util/memcache.c b/lib/util/memcache.c
index 2f2e77c1234..9e9a20802e6 100644
--- a/lib/util/memcache.c
+++ b/lib/util/memcache.c
@@ -53,6 +53,7 @@ static bool memcache_is_talloc(enum memcache_number n)
case GETPWNAM_CACHE:
case PDB_GETPWSID_CACHE:
case SINGLETON_CACHE_TALLOC:
+ case SHARE_MODE_LOCK_CACHE:
result = true;
break;
default:
diff --git a/lib/util/memcache.h b/lib/util/memcache.h
index 97490b963ce..2602fb7eef2 100644
--- a/lib/util/memcache.h
+++ b/lib/util/memcache.h
@@ -40,7 +40,8 @@ enum memcache_number {
PDB_GETPWSID_CACHE, /* talloc */
SINGLETON_CACHE_TALLOC, /* talloc */
SINGLETON_CACHE,
- SMB1_SEARCH_OFFSET_MAP
+ SMB1_SEARCH_OFFSET_MAP,
+ SHARE_MODE_LOCK_CACHE /* talloc */
};
/*