diff options
author | Patrick Lam <plam@MIT.EDU> | 2006-01-31 07:16:22 +0000 |
---|---|---|
committer | Patrick Lam <plam@MIT.EDU> | 2006-01-31 07:16:22 +0000 |
commit | 28aefd013d1896ffbf389596109eaec729d5d9a5 (patch) | |
tree | 77bea76c717418f135c5cb972d8e5171fd82c726 /src | |
parent | 3616cbe251e47cf36018a7277d9ff78f1cb0965e (diff) |
Toast broken global cache files.
reviewed by: plam
Diffstat (limited to 'src')
-rw-r--r-- | src/fccache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fccache.c b/src/fccache.c index 4b3adff..886e652 100644 --- a/src/fccache.c +++ b/src/fccache.c @@ -219,9 +219,9 @@ FcGlobalCacheLoad (FcGlobalCache *cache, cache->updated = FcFalse; if (!FcCacheReadString (cache->fd, name_buf, sizeof (name_buf))) - return; + goto bail_and_destroy; if (strcmp (name_buf, FC_GLOBAL_MAGIC_COOKIE) != 0) - return; + goto bail_and_destroy; current_arch_machine_name = FcCacheMachineSignature (); current_arch_start = FcCacheSkipToArch(cache->fd, |