summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/test/test_rendcache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test_rendcache.c b/src/test/test_rendcache.c
index e396f9fd50..cfeb640e02 100644
--- a/src/test/test_rendcache.c
+++ b/src/test/test_rendcache.c
@@ -1095,6 +1095,7 @@ test_rend_cache_clean_v2_descs_as_dir(void *data)
desc->timestamp = now;
desc->pk = pk_generate(0);
e->parsed = desc;
+ rend_cache_increment_allocation(rend_cache_entry_allocation(e));
digestmap_set(rend_cache_v2_dir, key, e);
/* Set the cutoff to minus 10 seconds. */