From c2484d2c972c17ad2c99af72a4d74abb3b0c1130 Mon Sep 17 00:00:00 2001 From: Aki Date: Thu, 9 Sep 2021 22:03:44 +0200 Subject: Readded layout unref that disappeared mysteriously --- text.c | 1 + 1 file changed, 1 insertion(+) diff --git a/text.c b/text.c index c0bd004..38ae0b1 100644 --- a/text.c +++ b/text.c @@ -209,6 +209,7 @@ void draw(struct State * state, union Command * body) int height; pango_layout_get_pixel_size(layout, NULL, &height); y += height + MARGIN; + g_object_unref(layout); break; case COMMAND_NOTHING: default: -- cgit v1.1