Don't cache loaded rules files
authorRan Benita <ran234@gmail.com>
Fri, 24 Feb 2012 08:46:41 +0000 (10:46 +0200)
committerRan Benita <ran234@gmail.com>
Sat, 3 Mar 2012 22:02:14 +0000 (00:02 +0200)
commit3216ecc07f5fb634a35f7d9ed9ef8e3d7f4494d5
tree7b97f86bacbac0d43907d0304b5340895f7da463
parentca9829ea66667e479bb4008d3b9e92727f090d3e
Don't cache loaded rules files

This needlessly occupies memory for the lifetime of the library, and
does not make a noticeable difference otherwise.

This rules file won't be loaded more than once in most cases anyway, so
just load it again when it happens.

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