fontconfig: Branch 'fc-2_4-keithp'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 src/fccfg.c |    2 ++
 1 files changed, 2 insertions(+)

New commits:
diff-tree fb6e30ab3ef74021978d260fb7f2c40a0b5a0b06 (from c2c6976d1a88cc35143ffcc34f3c38d0a28d34f4)
Author: Keith Packard <keithp@xxxxxxxxxxxxxxx>
Date:   Sat Sep 2 20:07:29 2006 -0700

    Fix missing initialization/destruction of new 'scan' target subst list.
    
    Forgot to initialize and destroy the new substitution list for the 'scan'
    match target.

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]);
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux