mie: index: cache: fix cache entries not being initialised correctly
This commit is contained in:
@@ -26,6 +26,8 @@ static struct index_cache_entry *index_cache_entry_create(
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
memset(out, 0x0, sizeof *out);
|
||||||
|
|
||||||
out->e_value.i_value = val;
|
out->e_value.i_value = val;
|
||||||
out->e_value.i_base.v_type = mie_ctx_get_type(ctx, "index", "index");
|
out->e_value.i_base.v_type = mie_ctx_get_type(ctx, "index", "index");
|
||||||
if (!out->e_value.i_base.v_type) {
|
if (!out->e_value.i_base.v_type) {
|
||||||
|
|||||||
Reference in New Issue
Block a user