diff options
Diffstat (limited to 'exa')
-rw-r--r-- | exa/exa_glyphs.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/exa/exa_glyphs.c b/exa/exa_glyphs.c index b09db46b0..5c46ec901 100644 --- a/exa/exa_glyphs.c +++ b/exa/exa_glyphs.c @@ -127,15 +127,11 @@ exaUnrealizeGlyphCaches(ScreenPtr pScreen, cache->picture = NULL; } - if (cache->hashEntries) { - free(cache->hashEntries); - cache->hashEntries = NULL; - } + free(cache->hashEntries); + cache->hashEntries = NULL; - if (cache->glyphs) { - free(cache->glyphs); - cache->glyphs = NULL; - } + free(cache->glyphs); + cache->glyphs = NULL; cache->glyphCount = 0; } } |