---
x.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/x.c b/x.c
index 6a66451..0e50ecd 100644
--- a/x.c
+++ b/x.c
@@ -906,6 +906,8 @@ xloadfont(Font *f, FcPattern *pattern)
f->height = f->ascent + f->descent;
f->width = DIVCEIL(extents.xOff, strlen(ascii_printable));
+ FcPatternDestroy(configured);
+ FcPatternDestroy(matchFound);
return 0;
}
--
2.20.1- [hackers] [st][PATCH 00/24] odg patches - fix warnings/... Oliver Galvin
- [hackers] [st][PATCH 01/24] add gitignore Oliver Galvin
- [hackers] [st][PATCH 06/24] fix warnings from -Wim... Oliver Galvin
- [hackers] [st][PATCH 07/24] fix warning from -Wmay... Oliver Galvin
- [hackers] [st][PATCH 02/24] avoid unnecessarily ch... Oliver Galvin
- [hackers] [st][PATCH 03/24] Reduce variable scope ... Oliver Galvin
- Re: [hackers] [st][PATCH 03/24] Reduce variabl... David Phillips
- [hackers] [st][PATCH 22/24] fix memory leak - dest... Oliver Galvin
- [hackers] [st][PATCH 19/24] improve type and const... Oliver Galvin
- [hackers] [st][PATCH 21/24] avoid unnecessarily li... Oliver Galvin
- Re: [hackers] [st][PATCH 21/24] avoid unnecess... Stephen Gregoratto
- [hackers] [st][PATCH 14/24] now st can build witho... Oliver Galvin
- Re: [hackers] [st][PATCH 14/24] now st can bui... Quentin Rameau
- [hackers] [st][PATCH 05/24] avoid warnings from -W... Oliver Galvin
- [hackers] [st][PATCH 10/24] fix -Wshadow warnings,... Oliver Galvin
- [hackers] [st][PATCH 23/24] stylistic stuff: Tidy ... Oliver Galvin
- [hackers] [st][PATCH 09/24] avoid redundant declar... Oliver Galvin
- [hackers] [st][PATCH 12/24] fix remaining cppcheck... Oliver Galvin
