]> git.wh0rd.org - fontconfig.git/blobdiff - fc-match/fc-match.c
Added new FcFini function for cleaning up all memory. Fixed a few memory
[fontconfig.git] / fc-match / fc-match.c
index 498018b0f8d891786babe85b40ff29081e70dacc..635c883c17059d3ac2ec65d30fb06b556e965f7f 100644 (file)
@@ -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;