diff options
Diffstat (limited to 'exa/exa_glyphs.c')
-rw-r--r-- | exa/exa_glyphs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/exa/exa_glyphs.c b/exa/exa_glyphs.c index fd14e9b87..b09db46b0 100644 --- a/exa/exa_glyphs.c +++ b/exa/exa_glyphs.c @@ -128,12 +128,12 @@ exaUnrealizeGlyphCaches(ScreenPtr pScreen, } if (cache->hashEntries) { - xfree(cache->hashEntries); + free(cache->hashEntries); cache->hashEntries = NULL; } if (cache->glyphs) { - xfree(cache->glyphs); + free(cache->glyphs); cache->glyphs = NULL; } cache->glyphCount = 0; @@ -213,8 +213,8 @@ exaRealizeGlyphCaches(ScreenPtr pScreen, cache->picture = pPicture; cache->picture->refcnt++; - cache->hashEntries = xalloc(sizeof(int) * cache->hashSize); - cache->glyphs = xalloc(sizeof(ExaCachedGlyphRec) * cache->size); + cache->hashEntries = malloc(sizeof(int) * cache->hashSize); + cache->glyphs = malloc(sizeof(ExaCachedGlyphRec) * cache->size); cache->glyphCount = 0; if (!cache->hashEntries || !cache->glyphs) |