From 1736e7daad18a438ce3c47b56d5d985636296276 Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Fri, 31 Aug 2012 12:12:13 +0300 Subject: [PATCH] types: don't strdup a default name None of the other files does that. Signed-off-by: Ran Benita --- src/xkbcomp/types.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.7.4