aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.c b/src/util.c
index bdc36f2..6d10c00 100644
--- a/src/util.c
+++ b/src/util.c
@@ -79,6 +79,7 @@ TTF_Font *load_font(const char *font_spec)
FcPatternDestroy(font);
}
FcPatternDestroy(pattern);
+ FcConfigDestroy(cfg);
free(font_name);
return ret;