mie: type: fix type definitions not being initialised correctly

This commit is contained in:
2026-01-12 10:37:49 +00:00
parent 3aad8fd4a3
commit 2d903f4a94

View File

@@ -10,6 +10,8 @@ struct mie_type_definition *mie_type_definition_create(
return NULL;
}
memset(out, 0x0, sizeof *out);
out->ty_name = b_strdup(name);
if (!out->ty_name) {
free(out);