diff options
author | Carl Worth <cworth@cworth.org> | 2003-08-15 19:45:20 +0000 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2003-08-15 19:45:20 +0000 |
commit | 34cd0514a215d65af6822eba2c2f0cd04eb0065f (patch) | |
tree | c67c425f6540c2ee5b6227a0c247ea2395b817c5 /fc-match | |
parent | 18906a876aa13550b1a10550ceeef6df0c4473ec (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.c | 2 |
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; |