summaryrefslogtreecommitdiff
path: root/fc-cat
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2014-08-12 18:48:00 +0900
committerAkira TAGOH <akira@tagoh.org>2014-08-12 18:48:00 +0900
commit23e88d8c6a5d3d0a9526a3f3217bd33a7607cbab (patch)
treef9309a19a77bd2a3fe71a2abb480b0c644972568 /fc-cat
parent841753a93f0e5698663b7931b8456e7b96259f54 (diff)
Increase the refcount in FcConfigSetCurrent()
https://bugs.freedesktop.org/show_bug.cgi?id=82432
Diffstat (limited to 'fc-cat')
-rw-r--r--fc-cat/fc-cat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fc-cat/fc-cat.c b/fc-cat/fc-cat.c
index 9a2abb3f..3a303c2d 100644
--- a/fc-cat/fc-cat.c
+++ b/fc-cat/fc-cat.c
@@ -298,6 +298,7 @@ main (int argc, char **argv)
return 1;
}
FcConfigSetCurrent (config);
+ FcConfigDestroy (config);
args = FcStrSetCreate ();
if (!args)