summaryrefslogtreecommitdiff
path: root/fc-match
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2003-08-15 19:45:20 +0000
committerCarl Worth <cworth@cworth.org>2003-08-15 19:45:20 +0000
commit34cd0514a215d65af6822eba2c2f0cd04eb0065f (patch)
treec67c425f6540c2ee5b6227a0c247ea2395b817c5 /fc-match
parent18906a876aa13550b1a10550ceeef6df0c4473ec (diff)
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)
Diffstat (limited to 'fc-match')
-rw-r--r--fc-match/fc-match.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fc-match/fc-match.c b/fc-match/fc-match.c
index 498018b..635c883 100644
--- a/fc-match/fc-match.c
+++ b/fc-match/fc-match.c
@@ -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 @@ main (int argc, char **argv)
int verbose = 0;
int sort = 0;
int i;
- FcObjectSet *os = 0;
FcFontSet *fs;
FcPattern *pat;
FcResult result;