diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-05-05 21:00:31 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-05-08 14:28:53 +1000 |
commit | 5cf70183812541b33a6e83c7e1e3bc6198730cbe (patch) | |
tree | f5756527aeb0a97732cd3fc480a07249f6a02996 /xkb/xkbLEDs.c | |
parent | 0e31d3906deaee5d9ada66e538b9e93574a4d610 (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.c | 6 |
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; } |