diff options
author | Matthias Clasen <maclas@gmx.de> | 2004-01-23 22:55:47 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-01-23 22:55:47 +0000 |
commit | 01129468a8f0cf5682d37caa802efc9992fae72e (patch) | |
tree | 7512690d6e9c7ec3f5d06d29082da869830c03a9 /gtk/gtkfontbutton.c | |
parent | 07de5917571247576c109fdf23bd86207feb4880 (diff) | |
download | gtk+-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/gtkfontbutton.c')
-rw-r--r-- | gtk/gtkfontbutton.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkfontbutton.c b/gtk/gtkfontbutton.c index 9a872a4231..53eb5cf5a9 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 |