summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/memcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/memcache.c b/source3/lib/memcache.c
index 448b8b2f84..457586bd68 100644
--- a/source3/lib/memcache.c
+++ b/source3/lib/memcache.c
@@ -332,7 +332,7 @@ void memcache_add(struct memcache *cache, enum memcache_number n,
void memcache_add_talloc(struct memcache *cache, enum memcache_number n,
DATA_BLOB key, void *ptr)
{
- return memcache_add(cache, n, key, data_blob_const(&ptr, sizeof(ptr)));
+ memcache_add(cache, n, key, data_blob_const(&ptr, sizeof(ptr)));
}
void memcache_flush(struct memcache *cache, enum memcache_number n)