mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 03:44:06 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user