summaryrefslogtreecommitdiff
path: root/Xi/getkmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'Xi/getkmap.c')
-rw-r--r--Xi/getkmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Xi/getkmap.c b/Xi/getkmap.c
index 78449e212..c38467b96 100644
--- a/Xi/getkmap.c
+++ b/Xi/getkmap.c
@@ -133,8 +133,8 @@ ProcXGetDeviceKeyMapping(ClientPtr client)
syms->mapWidth * stuff->count * sizeof(KeySym),
&syms->map[syms->mapWidth * (stuff->firstKeyCode -
syms->minKeyCode)]);
- xfree(syms->map);
- xfree(syms);
+ free(syms->map);
+ free(syms);
return Success;
}