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>
This commit is contained in:
Peter Hutterer
2009-05-05 21:00:31 +10:00
parent 0e31d3906d
commit 5cf7018381
11 changed files with 136 additions and 140 deletions

View File

@@ -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;
}