summaryrefslogtreecommitdiff
path: root/dix
diff options
context:
space:
mode:
authorRoss Burton <ross@burtonini.com>2008-04-22 16:25:23 +0100
committerRoss Burton <ross@burtonini.com>2008-04-22 16:25:23 +0100
commit3848422d2354b7a5302fda92b05b0d728190e050 (patch)
tree5fb59c62d113944059a6ac6d146fd4de81adb1e0 /dix
parent744d0cfda74f8283801cc2d6c5eda48402455bc3 (diff)
Fix build when XKB is disabled.
Diffstat (limited to 'dix')
-rw-r--r--dix/devices.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dix/devices.c b/dix/devices.c
index 5a726afe8..2c9a329be 100644
--- a/dix/devices.c
+++ b/dix/devices.c
@@ -524,8 +524,8 @@ CloseDevice(DeviceIntPtr dev)
#ifdef XKB
if (dev->key->xkbInfo)
XkbFreeInfo(dev->key->xkbInfo);
-#endif
dev->key->xkbInfo = NULL;
+#endif
xfree(dev->key->curKeySyms.map);
xfree(dev->key->modifierKeyMap);
xfree(dev->key);