x.c: free_colored_layout stuff leak

This commit is contained in:
Sascha Kruse 2013-03-08 20:14:13 +01:00
parent 75ef76946b
commit cdb39c30b4

2
x.c
View File

@ -164,7 +164,9 @@ static void free_colored_layout(void *data)
{
colored_layout *cl = data;
g_object_unref(cl->l);
pango_attr_list_unref(cl->attr);
g_free(cl->text);
g_free(cl);
}
static bool have_dynamic_width(void)