diff options
author | Adam Jackson <ajax@redhat.com> | 2009-01-20 23:16:35 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2009-01-20 23:16:35 -0500 |
commit | 0cdc9b8f850342d50b72a57507db3413eacc6fb8 (patch) | |
tree | b86480167977d28f8e7574c91aedf982db52bf32 /src/fontfile/bitsource.c | |
parent | 632a2e90a4b209facc84d7a18873f19a720ea7df (diff) |
xalloc -> malloc, etc.
Diffstat (limited to 'src/fontfile/bitsource.c')
-rw-r--r-- | src/fontfile/bitsource.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fontfile/bitsource.c b/src/fontfile/bitsource.c index ae27de8..d828ce8 100644 --- a/src/fontfile/bitsource.c +++ b/src/fontfile/bitsource.c @@ -51,7 +51,7 @@ FontFileRegisterBitmapSource (FontPathElementPtr fpe) if (FontFileBitmapSources.count == FontFileBitmapSources.size) { newsize = FontFileBitmapSources.size + 4; - new = (FontPathElementPtr *) xrealloc (FontFileBitmapSources.fpe, newsize * sizeof *new); + new = realloc (FontFileBitmapSources.fpe, newsize * sizeof *new); if (!new) return FALSE; FontFileBitmapSources.size = newsize; @@ -73,7 +73,7 @@ FontFileUnregisterBitmapSource (FontPathElementPtr fpe) if (FontFileBitmapSources.count == 0) { FontFileBitmapSources.size = 0; - xfree (FontFileBitmapSources.fpe); + free (FontFileBitmapSources.fpe); FontFileBitmapSources.fpe = 0; } else @@ -99,7 +99,7 @@ FontFileEmptyBitmapSource(void) FontFileBitmapSources.count = 0; FontFileBitmapSources.size = 0; - xfree (FontFileBitmapSources.fpe); + free (FontFileBitmapSources.fpe); FontFileBitmapSources.fpe = 0; } |