projects
/
platform
/
upstream
/
libxkbcommon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
149e1b2
)
types: don't strdup a default name
author
Ran Benita
<ran234@gmail.com>
Fri, 31 Aug 2012 09:12:13 +0000
(12:12 +0300)
committer
Ran Benita
<ran234@gmail.com>
Mon, 3 Sep 2012 07:25:20 +0000
(10:25 +0300)
None of the other files does that.
Signed-off-by: Ran Benita <ran234@gmail.com>
src/xkbcomp/types.c
patch
|
blob
|
history
diff --git
a/src/xkbcomp/types.c
b/src/xkbcomp/types.c
index
8475900
..
d5071d4
100644
(file)
--- 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;