diff options
Diffstat (limited to 'gtk/gtkcellrenderertext.c')
-rw-r--r-- | gtk/gtkcellrenderertext.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkcellrenderertext.c b/gtk/gtkcellrenderertext.c index 7ad67797cb..cf803dd1b8 100644 --- a/gtk/gtkcellrenderertext.c +++ b/gtk/gtkcellrenderertext.c @@ -970,6 +970,8 @@ get_layout (GtkCellRendererText *celltext, pango_layout_set_attributes (layout, attr_list); pango_layout_set_width (layout, -1); + pango_attr_list_unref (attr_list); + return layout; } |