Make compile_keymap a little nicer
authorRan Benita <ran234@gmail.com>
Fri, 13 Jul 2012 22:12:50 +0000 (01:12 +0300)
committerRan Benita <ran234@gmail.com>
Sat, 14 Jul 2012 08:47:05 +0000 (11:47 +0300)
commitd705c5d97cf6969f87f40e73aeb2525fc61a4219
tree8cbcc11b9ed01592899acd4dca07490f7326d8e8
parentfe4f990902c7cd8f395b9f3be14dc6e8cad7cae9
Make compile_keymap a little nicer

Just using the fact that we must have all of the components, without
optional ones.
Also fixes a memleak on the way, by making the functions which allocate
the XkbFiles to free them, which is easier to get right.

Signed-off-by: Ran Benita <ran234@gmail.com>
src/xkb-priv.h
src/xkbcomp/xkbcomp.c