From 7e8f0d662bd911cf8c9e79b24446449d31464b8b Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Mon, 1 Mar 2010 20:45:16 -0600 Subject: Unreffing the layout that we allocated --- src/indicator-session.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/indicator-session.c b/src/indicator-session.c index a97eb95..a815e40 100644 --- a/src/indicator-session.c +++ b/src/indicator-session.c @@ -214,6 +214,7 @@ switch_property_change (DbusmenuMenuitem * item, const gchar * property, const G gint width; pango_layout_get_pixel_size(layout, &width, NULL); + g_object_unref(layout); g_debug("Username width %dpx", width); gint point = pango_font_description_get_size(style->font_desc); -- cgit v1.2.3