From eafa931ff984d13a93343216d3f0fd490270599b Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: Thu, 19 Jul 2018 12:12:17 +0900 Subject: [PATCH] Fix memory leak --- src/fclist.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/fclist.c b/src/fclist.c index d7e8fc0..494bdea 100644 --- a/src/fclist.c +++ b/src/fclist.c @@ -568,6 +568,9 @@ FcFontSetList (FcConfig *config, free (bucket); } + if (destroy_os) + FcObjectSetDestroy (os); + return ret; bail2: