[Commit] fontconfig/fc-match fc-match.c,1.1,1.2
Carl Worth
commit at keithp.com
Fri Aug 15 13:45:22 PDT 2003
Committed by: cworth
Update of /local/src/CVS/fontconfig/fc-match
In directory home.keithp.com:/tmp/cvs-serv29091/fc-match
Modified Files:
fc-match.c
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: fc-match.c
===================================================================
RCS file: /local/src/CVS/fontconfig/fc-match/fc-match.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- fc-match.c 9 Jun 2003 16:53:31 -0000 1.1
+++ fc-match.c 15 Aug 2003 19:45:20 -0000 1.2
@@ -26,6 +26,7 @@
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
+#include <string.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#else
@@ -91,7 +92,6 @@
int verbose = 0;
int sort = 0;
int i;
- FcObjectSet *os = 0;
FcFontSet *fs;
FcPattern *pat;
FcResult result;
More information about the Commit
mailing list