diff options
Diffstat (limited to 'fc-list')
-rw-r--r-- | fc-list/fc-list.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fc-list/fc-list.c b/fc-list/fc-list.c index 997a6acc..0fa1a8dc 100644 --- a/fc-list/fc-list.c +++ b/fc-list/fc-list.c @@ -137,6 +137,7 @@ main (int argc, char **argv) if (!os) os = FcObjectSetBuild (FC_FAMILY, FC_STYLE, (char *) 0); fs = FcFontList (0, pat, os); + FcObjectSetDestroy (os); if (pat) FcPatternDestroy (pat); @@ -157,5 +158,8 @@ main (int argc, char **argv) } FcFontSetDestroy (fs); } + + FcFini (); + return 0; } |