Commit dacf81ed authored by Patrick Lam's avatar Patrick Lam
Browse files

Freeze patterns created by configuration file for tiny memory savings

    (every little bit helps).
reviewed by: plam, keithp
parent 9769b43d
2006-02-21 Ross Burton <ross@burtonini.com>
reviewed by: plam, keithp
* src/fcxml.c (FcParsePatelt):
Freeze patterns created by configuration file for tiny
memory savings (every little bit helps).
2006-02-21 Mike Fabian <mfabian@suse.de>
reviewed by: plam
......
......@@ -1968,7 +1968,8 @@ FcParsePatelt (FcConfigParse *parse)
}
}
FcVStackPushPattern (parse, pattern);
FcVStackPushPattern (parse, FcPatternFreeze(pattern));
FcPatternDestroy (pattern);
}
static void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment