projects
/
platform
/
upstream
/
kbd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fdb80c
)
[PATCH kbd] fix double free
author
Ludwig Nussel
<ludwig.nussel@suse.de>
Wed, 5 Oct 2011 13:33:46 +0000
(15:33 +0200)
committer
Alexey Gladkov
<gladkov.alexey@gmail.com>
Mon, 10 Oct 2011 21:15:39 +0000
(
01:15
+0400)
Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
src/loadkeys.y
patch
|
blob
|
history
diff --git
a/src/loadkeys.y
b/src/loadkeys.y
index
b70db27
..
c45110d
100644
(file)
--- a/
src/loadkeys.y
+++ b/
src/loadkeys.y
@@
-352,8
+352,6
@@
static int defkeys(int fd, int kbd_mode)
j, (key_map[i])[j]);
}
}
- xfree(key_map[i]);
- xfree(keymap_was_set[i]);
} else if (keymaps_line_seen && !defining[i]) {
/* deallocate keymap */