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; }