diff options
author | Patrick Lam <plam@MIT.EDU> | 2005-08-31 15:12:41 +0000 |
---|---|---|
committer | Patrick Lam <plam@MIT.EDU> | 2005-08-31 15:12:41 +0000 |
commit | 5e678e9459f71878d72f72d3765f7dc7e8f3f643 (patch) | |
tree | b10c39384d59444ebca0e597528c7437f419f806 /src/fcfs.c | |
parent | fd77c154afb039b6b19f8e29c28dce652b2d060e (diff) | |
download | fontconfig-5e678e9459f71878d72f72d3765f7dc7e8f3f643.tar.gz |
Only load requested fonts for fc-cache, and cleanup memory handling:
*Serialize no longer mutates original FcPatterns, it creates a new copy
in the supplied buffer. Fix thinkos in global cache freeing and in
FcCacheSkipToArch.
Diffstat (limited to 'src/fcfs.c')
-rw-r--r-- | src/fcfs.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -133,9 +133,6 @@ FcFontSetSerialize (int bank, FcFontSet * s) { p = FcPatternSerialize (bank, s->fonts[i]); if (!p) return FcFalse; - FcPatternDestroy (s->fonts[i]); - - s->fonts[i] = p; } FcObjectSerialize(); |