mie: type: fix type definitions not being initialised correctly
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user