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:
ffb610c
)
Fix bugs to allow multiple keymaps in one process
author
Ran Benita
<ran234@gmail.com>
Fri, 30 Mar 2012 21:02:12 +0000
(
00:02
+0300)
committer
Daniel Stone
<daniel@fooishbar.org>
Mon, 2 Apr 2012 12:11:59 +0000
(13:11 +0100)
These were several initializations that were forgotten in the previous
memory leak fixes.
Now several xkb_desc's can coexist (relatively) peacefully.
Signed-off-by: Ran Benita <ran234@gmail.com>
[daniels: Only the atom.c is relevant with the new context API.]
src/atom.c
patch
|
blob
|
history
diff --git
a/src/atom.c
b/src/atom.c
index
f26e23a
..
d4076c4
100644
(file)
--- a/
src/atom.c
+++ b/
src/atom.c
@@
-213,4
+213,5
@@
XkbcFreeAllAtoms(void)
free(nodeTable);
nodeTable = NULL;
lastAtom = XKB_ATOM_NONE;
+ tableLength = 0;
}