From d9ff172d36a7d14426d9437e6378fe6e9beba3b8 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sun, 31 Jul 2011 17:57:11 +0200 Subject: [PATCH] Bugfix: load_font: free reply after using it --- src/xcb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/xcb.c b/src/xcb.c index 115fafe9..298abd9c 100644 --- a/src/xcb.c +++ b/src/xcb.c @@ -62,6 +62,8 @@ i3Font load_font(const char *pattern, bool fallback) { new.height = reply->font_ascent + reply->font_descent; + free(reply); + return new; } -- 2.39.5