summaryrefslogtreecommitdiff
path: root/src/fontfile/bufio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fontfile/bufio.c')
-rw-r--r--src/fontfile/bufio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fontfile/bufio.c b/src/fontfile/bufio.c
index a5746e3..9eb00bc 100644
--- a/src/fontfile/bufio.c
+++ b/src/fontfile/bufio.c
@@ -51,7 +51,7 @@ BufFileCreate (char *private,
{
BufFilePtr f;
- f = (BufFilePtr) xalloc (sizeof *f);
+ f = malloc (sizeof *f);
if (!f)
return 0;
f->private = private;
@@ -201,6 +201,6 @@ BufFileClose (BufFilePtr f, int doClose)
{
int ret;
ret = (*f->close) (f, doClose);
- xfree (f);
+ free (f);
return ret;
}