From 9f1b92f27f9259aa69e5387656cb7d4c1b305a98 Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: Wed, 25 Jul 2018 13:41:47 +0900 Subject: [PATCH] Fix memory leak --- src/fcxml.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/fcxml.c b/src/fcxml.c index 94f5d63..a180a88 100644 --- a/src/fcxml.c +++ b/src/fcxml.c @@ -1837,6 +1837,8 @@ FcParseAlias (FcConfigParse *parse) !def) { FcExprDestroy (family); + if (rule) + FcRuleDestroy (rule); return; } else