mie: index: cache: fix cache entries not being initialised correctly

This commit is contained in:
2026-01-12 10:36:32 +00:00
parent 49df8616a8
commit 3aad8fd4a3

View File

@@ -26,6 +26,8 @@ static struct index_cache_entry *index_cache_entry_create(
return NULL;
}
memset(out, 0x0, sizeof *out);
out->e_value.i_value = val;
out->e_value.i_base.v_type = mie_ctx_get_type(ctx, "index", "index");
if (!out->e_value.i_base.v_type) {