types: don't strdup a default name None of the other files does that. Signed-off-by: Ran Benita <ran234@gmail.com>
diff --git a/src/xkbcomp/types.c b/src/xkbcomp/types.c
index 8475900..d5071d4 100644
--- a/src/xkbcomp/types.c
+++ b/src/xkbcomp/types.c
@@ -216,7 +216,7 @@ static void
InitKeyTypesInfo(KeyTypesInfo *info, struct xkb_keymap *keymap,
unsigned file_id)
{
- info->name = strdup("default");
+ info->name = NULL;
info->errorCount = 0;
darray_init(info->types);
info->file_id = file_id;