summaryrefslogtreecommitdiff
path: root/hw/xnest/Font.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xnest/Font.c')
-rw-r--r--hw/xnest/Font.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xnest/Font.c b/hw/xnest/Font.c
index 7b388f0f4..f1ccd7e73 100644
--- a/hw/xnest/Font.c
+++ b/hw/xnest/Font.c
@@ -62,7 +62,7 @@ xnestRealizeFont(ScreenPtr pScreen, FontPtr pFont)
if (!name) return False;
- priv = (pointer)xalloc(sizeof(xnestPrivFont));
+ priv = (pointer)malloc(sizeof(xnestPrivFont));
FontSetPrivate(pFont, xnestFontPrivateIndex, priv);
xnestFontPriv(pFont)->font_struct = XLoadQueryFont(xnestDisplay, name);
@@ -79,7 +79,7 @@ xnestUnrealizeFont(ScreenPtr pScreen, FontPtr pFont)
if (xnestFontPriv(pFont)) {
if (xnestFontStruct(pFont))
XFreeFont(xnestDisplay, xnestFontStruct(pFont));
- xfree(xnestFontPriv(pFont));
+ free(xnestFontPriv(pFont));
FontSetPrivate(pFont, xnestFontPrivateIndex, NULL);
}
return True;