diff options
-rw-r--r-- | src/fcmatch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fcmatch.c b/src/fcmatch.c index 5d30cc7e..95bb2040 100644 --- a/src/fcmatch.c +++ b/src/fcmatch.c @@ -653,7 +653,7 @@ FcFontRenderPrepare (FcConfig *config, if (!l) goto bail0; dir = FcStrDirname (FcValueString (&l->value)); - if (FcHashTableFind (config->alias_table, dir, (void **) &alias)) + if (config && FcHashTableFind (config->alias_table, dir, (void **) &alias)) { FcChar8 *base = FcStrBasename (FcValueString (&l->value)); FcChar8 *s = FcStrBuildFilename (alias, base, NULL); |