projects
/
profile
/
ivi
/
libxkbcommon.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Unconstify a few string struct fields
[profile/ivi/libxkbcommon.git]
/
src
/
xkbcomp
/
symbols.c
diff --git
a/src/xkbcomp/symbols.c
b/src/xkbcomp/symbols.c
index
5e243ec
..
a61a52b
100644
(file)
--- a/
src/xkbcomp/symbols.c
+++ b/
src/xkbcomp/symbols.c
@@
-2213,7
+2213,7
@@
CompileSymbols(XkbFile *file, struct xkb_keymap *keymap, unsigned merge)
for (i = 0; i < XkbNumKbdGroups; i++) {
if (info.groupNames[i] != XKB_ATOM_NONE) {
- free(
UNCONSTIFY(keymap->names->groups[i])
);
+ free(
keymap->names->groups[i]
);
keymap->names->groups[i] = xkb_atom_strdup(keymap->ctx,
info.groupNames[i]);
}