Commit c4fe3882 authored by Matthias Clasen's avatar Matthias Clasen

GtkEntry: plug a small memleak

GtkEntry was leaking a pango attribute list, if one was set.
parent 06842a2d
......@@ -3034,6 +3034,9 @@ gtk_entry_finalize (GObject *object)
if (priv->tabs)
pango_tab_array_free (priv->tabs);
if (priv->attrs)
pango_attr_list_unref (priv->attrs);
G_OBJECT_CLASS (gtk_entry_parent_class)->finalize (object);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment