Keith Packard <keithp@keithp.com>
Reduce transient memory usage during config file parsing by allocating smaller buffers (64 seems to be a magic number).
This commit is contained in:
parent
529291bef4
commit
0037aad501
20
ChangeLog
20
ChangeLog
|
@ -1,3 +1,10 @@
|
||||||
|
2006-04-27 Patrick Lam <plam@mit.edu>
|
||||||
|
Keith Packard <keithp@keithp.com>
|
||||||
|
* src/fcstr.c (FcStrBufChar):
|
||||||
|
|
||||||
|
Reduce transient memory usage during config file parsing
|
||||||
|
by allocating smaller buffers (64 seems to be a magic number).
|
||||||
|
|
||||||
2006-04-27 Keith Packard <keithp@keithp.com>
|
2006-04-27 Keith Packard <keithp@keithp.com>
|
||||||
|
|
||||||
* src/fcinit.c: (FcMemReport):
|
* src/fcinit.c: (FcMemReport):
|
||||||
|
@ -7,7 +14,6 @@
|
||||||
Eliminate pattern freezing
|
Eliminate pattern freezing
|
||||||
|
|
||||||
2006-04-27 Keith Packard <keithp@keithp.com>
|
2006-04-27 Keith Packard <keithp@keithp.com>
|
||||||
|
|
||||||
reviewed by: Patrick Lam <plam@mit.edu>
|
reviewed by: Patrick Lam <plam@mit.edu>
|
||||||
|
|
||||||
* src/fccache.c: (FcDirCacheUnlink), (FcDirCacheHashName),
|
* src/fccache.c: (FcDirCacheUnlink), (FcDirCacheHashName),
|
||||||
|
@ -24,18 +30,6 @@
|
||||||
Bump cache magic.
|
Bump cache magic.
|
||||||
Don't include /fonts.cache-2 in cache hash construction.
|
Don't include /fonts.cache-2 in cache hash construction.
|
||||||
|
|
||||||
2006-04-26 Keith Packard <keithp@keithp.com>
|
|
||||||
|
|
||||||
* src/fccache.c: (FcDirCacheUnlink), (FcDirCacheOpen),
|
|
||||||
(FcDirCacheWrite):
|
|
||||||
* src/fcfreetype.c: (FcFreeTypeQuery):
|
|
||||||
* src/fcint.h:
|
|
||||||
* src/fclist.c: (FcListAppend):
|
|
||||||
* src/fcmatch.c: (FcFontRenderPrepare):
|
|
||||||
* src/fcpat.c: (FcPatternDestroy), (FcPatternBaseFreeze),
|
|
||||||
(FcPatternFreeze), (FcPatternGet), (FcPatternDuplicate),
|
|
||||||
(FcStrUnserialize):
|
|
||||||
|
|
||||||
2006-04-25 Patrick Lam <plam@mit.edu>
|
2006-04-25 Patrick Lam <plam@mit.edu>
|
||||||
* ChangeLog:
|
* ChangeLog:
|
||||||
* README:
|
* README:
|
||||||
|
|
|
@ -706,7 +706,7 @@ FcStrBufChar (FcStrBuf *buf, FcChar8 c)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
size = buf->size + 1024;
|
size = buf->size + 64;
|
||||||
new = malloc (size);
|
new = malloc (size);
|
||||||
if (new)
|
if (new)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue