diff options
author | Ran Benita <ran234@gmail.com> | 2012-03-31 00:02:12 +0300 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2012-04-02 13:11:59 +0100 |
commit | 3c9493795b3b632298921e6399d67b15e052f655 (patch) | |
tree | 762516914e81671abf44bc51d86c50a36f54078f /src/atom.c | |
parent | ffb610c943154afdcaad949e7b0db93fd9047b2b (diff) | |
download | xorg-lib-libxkbcommon-3c9493795b3b632298921e6399d67b15e052f655.tar.gz |
Fix bugs to allow multiple keymaps in one process
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.]
Diffstat (limited to 'src/atom.c')
-rw-r--r-- | src/atom.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -213,4 +213,5 @@ XkbcFreeAllAtoms(void) free(nodeTable); nodeTable = NULL; lastAtom = XKB_ATOM_NONE; + tableLength = 0; } |