summaryrefslogtreecommitdiff
path: root/xkb/xkbLEDs.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-05-05 21:00:31 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-05-08 14:28:53 +1000
commit5cf70183812541b33a6e83c7e1e3bc6198730cbe (patch)
treef5756527aeb0a97732cd3fc480a07249f6a02996 /xkb/xkbLEDs.c
parent0e31d3906deaee5d9ada66e538b9e93574a4d610 (diff)
xkb: remove _XkbAlloc, _XkbCalloc, _XkbRealloc and _XkbFree
We all agree that wrapping is fun, but seriously. One of these days someone will get hurt. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'xkb/xkbLEDs.c')
-rw-r--r--xkb/xkbLEDs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xkb/xkbLEDs.c b/xkb/xkbLEDs.c
index a70ac841d..59cdba416 100644
--- a/xkb/xkbLEDs.c
+++ b/xkb/xkbLEDs.c
@@ -605,12 +605,12 @@ void
XkbFreeSrvLedInfo(XkbSrvLedInfoPtr sli)
{
if ((sli->flags&XkbSLI_IsDefault)==0) {
- if (sli->maps) _XkbFree(sli->maps);
- if (sli->names) _XkbFree(sli->names);
+ if (sli->maps) xfree(sli->maps);
+ if (sli->names) xfree(sli->names);
}
sli->maps= NULL;
sli->names= NULL;
- _XkbFree(sli);
+ xfree(sli);
return;
}