[Commit] fontconfig ChangeLog,1.25,1.26
Carl Worth
commit at keithp.com
Fri Aug 15 13:45:21 PDT 2003
Committed by: cworth
Update of /local/src/CVS/fontconfig
In directory home.keithp.com:/tmp/cvs-serv29091
Modified Files:
ChangeLog
Log Message:
Added new FcFini function for cleaning up all memory.
Fixed a few memory leaks.
fc-list now calls FcFini, (and is now leak-free according to valgrind)
Index: ChangeLog
===================================================================
RCS file: /local/src/CVS/fontconfig/ChangeLog,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- ChangeLog 15 Jun 2003 22:57:21 -0000 1.25
+++ ChangeLog 15 Aug 2003 19:45:18 -0000 1.26
@@ -1,3 +1,47 @@
+2003-08-15 Carl Worth <cworth at isi.edu>
+
+ * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
+ (FcPopExpr): Add comment about unhandled FcVStackGlob case.
+
+ * src/fcpat.c (FcValueListEntDestroy): New function to support
+ FcFini memory cleanup. Some statistics are not kept in
+ synch. here.
+ (FcValueListFreeze): Move hashTable outside this function so it
+ can be accessed by FcValueListThawAll.
+ (FcValueListThawAll): New function complements FcValueListFreeze.
+ (FcPatternBaseFreeze): Move hashTable outside this function so it
+ can be accessed by FcPatternBaseThawAll.
+ (FcPatternBaseThawAll): New function complements
+ FcPatternBaseFreeze.
+ (FcPatternThawAll): New function complements FcPatternFreeze.
+
+ * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
+
+ * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
+ allocated FcCharLeafEnt "blocks" so they can be freed later.
+ (FcCharSetFreezeLeaf): Move hashTable outside this function so it
+ can be accessed by FcCharSetThawAllLeaf.
+ (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
+ (FcCharSetFreezeBase): Move hashTable outside this function so it
+ can be accessed by FcCharSetThawAll.
+ (FcCharSetThawAll): New function complements FcCharSetFreeze.
+
+ * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
+ (FcConfigDestroy): Fic leak of FcBlanks.
+
+ * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
+ (main): Add call to FcFini when finished.
+
+ * fc-glyphname/fc-glyphname.c: Mark several local functions as
+ static. Add prototypes.
+
+ * doc/fcinit.fncs: Add documentation for FcFini function.
+
+ * doc/edit-sgml.c: Mark several local functions as static. Add
+ prototypes.
+
+ * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
+
2003-06-15 Tor Lillqvist <tml at iki.fi>
* test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
More information about the Commit
mailing list