summaryrefslogtreecommitdiff
path: root/fc-cache
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2008-05-04 01:25:04 -0700
committerKeith Packard <keithp@keithp.com>2008-05-04 01:25:04 -0700
commitc6c9400d67ffefa95100d03e6650ea901b05116b (patch)
tree8e0a7d9baf429f376bfd10ae1a037a87e8d8e4dc /fc-cache
parentd33d23ada05a688046e4cc0a48b149fbf44c9ce3 (diff)
Call FcFini to make memory debugging easier
FcFini frees all libary data structures so valgrind should report 0 allocations in use when the program exits.
Diffstat (limited to 'fc-cache')
-rw-r--r--fc-cache/fc-cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fc-cache/fc-cache.c b/fc-cache/fc-cache.c
index 54add90b..cd664fa1 100644
--- a/fc-cache/fc-cache.c
+++ b/fc-cache/fc-cache.c
@@ -457,6 +457,7 @@ main (int argc, char **argv)
* library, and there aren't any signals flying around here.
*/
FcConfigDestroy (config);
+ FcFini ();
sleep (2);
if (verbose)
printf ("%s: %s\n", argv[0], ret ? "failed" : "succeeded");