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.
This commit is contained in:
parent
d33d23ada0
commit
c6c9400d67
|
@ -457,6 +457,7 @@ main (int argc, char **argv)
|
||||||
* library, and there aren't any signals flying around here.
|
* library, and there aren't any signals flying around here.
|
||||||
*/
|
*/
|
||||||
FcConfigDestroy (config);
|
FcConfigDestroy (config);
|
||||||
|
FcFini ();
|
||||||
sleep (2);
|
sleep (2);
|
||||||
if (verbose)
|
if (verbose)
|
||||||
printf ("%s: %s\n", argv[0], ret ? "failed" : "succeeded");
|
printf ("%s: %s\n", argv[0], ret ? "failed" : "succeeded");
|
||||||
|
|
Loading…
Reference in New Issue