summaryrefslogtreecommitdiff
path: root/text.c
diff options
context:
space:
mode:
Diffstat (limited to 'text.c')
-rw-r--r--text.c1
1 files changed, 1 insertions, 0 deletions
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: