6770058.patch revision 779
--- fontconfig-2.7.1/src/fcmatch.c 2009-08-26 16:50:43.692051000 -0400
+++ fontconfig-2.7.1/src/fcmatch.c 2009-08-26 17:00:48.404364000 -0400
@@ -915,6 +915,12 @@
printf ("Sort ");
FcPatternPrint (p);
}
+ if (!config)
+ {
+ config = FcConfigGetCurrent ();
+ if (!config)
+ return 0;
+ }
nnodes = 0;
for (set = 0; set < nsets; set++)
{