summaryrefslogtreecommitdiff
path: root/src/fontfile/renderers.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fontfile/renderers.c')
-rw-r--r--src/fontfile/renderers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fontfile/renderers.c b/src/fontfile/renderers.c
index f110ba8..bdbdab0 100644
--- a/src/fontfile/renderers.c
+++ b/src/fontfile/renderers.c
@@ -62,7 +62,7 @@ FontFilePriorityRegisterRenderer (FontRendererPtr renderer, int priority)
rendererGeneration = serverGeneration;
renderers.number = 0;
if (renderers.renderers)
- xfree(renderers.renderers);
+ free(renderers.renderers);
renderers.renderers = NULL;
}
@@ -84,7 +84,7 @@ FontFilePriorityRegisterRenderer (FontRendererPtr renderer, int priority)
}
if(i >= renderers.number) {
- new = xrealloc (renderers.renderers, sizeof(*new) * (i + 1));
+ new = realloc (renderers.renderers, sizeof(*new) * (i + 1));
if (!new)
return FALSE;
renderers.renderers = new;