summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorMatthias Clasen <maclas@gmx.de>2004-01-23 22:55:47 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-01-23 22:55:47 +0000
commit01129468a8f0cf5682d37caa802efc9992fae72e (patch)
tree7512690d6e9c7ec3f5d06d29082da869830c03a9 /gtk
parent07de5917571247576c109fdf23bd86207feb4880 (diff)
downloadgdk-pixbuf-01129468a8f0cf5682d37caa802efc9992fae72e.tar.gz
Don't leak the font description. (#132168)
Fri Jan 23 23:46:12 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtkfontbutton.c (gtk_font_button_label_use_font): Don't leak the font description. (#132168)
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtkfontbutton.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkfontbutton.c b/gtk/gtkfontbutton.c
index 9a872a423..53eb5cf5a 100644
--- a/gtk/gtkfontbutton.c
+++ b/gtk/gtkfontbutton.c
@@ -836,6 +836,8 @@ gtk_font_button_label_use_font (GtkFontButton *font_button)
pango_font_description_unset_fields (desc, PANGO_FONT_MASK_SIZE);
gtk_widget_modify_font (font_button->priv->font_label, desc);
+
+ pango_font_description_free (desc);
}
static gboolean