summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@neko.keithp.com>2006-09-02 20:07:29 -0700
committerKeith Packard <keithp@neko.keithp.com>2006-09-02 20:07:29 -0700
commitfb6e30ab3ef74021978d260fb7f2c40a0b5a0b06 (patch)
tree6552028285628ced04515471e2818589a234237d
parentc2c6976d1a88cc35143ffcc34f3c38d0a28d34f4 (diff)
Fix missing initialization/destruction of new 'scan' target subst list.
Forgot to initialize and destroy the new substitution list for the 'scan' match target.
-rw-r--r--src/fccfg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fccfg.c b/src/fccfg.c
index 3cea2c9..2f0d311 100644
--- a/src/fccfg.c
+++ b/src/fccfg.c
@@ -85,6 +85,7 @@ FcConfigCreate (void)
config->substPattern = 0;
config->substFont = 0;
+ config->substScan = 0;
config->maxObjects = 0;
for (set = FcSetSystem; set <= FcSetApplication; set++)
config->fonts[set] = 0;
@@ -215,6 +216,7 @@ FcConfigDestroy (FcConfig *config)
FcSubstDestroy (config->substPattern);
FcSubstDestroy (config->substFont);
+ FcSubstDestroy (config->substScan);
for (set = FcSetSystem; set <= FcSetApplication; set++)
if (config->fonts[set])
FcFontSetDestroy (config->fonts[set]);