From fc3d4d31f01a639972faf5fd5f85fc6602f53c1b Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Thu, 16 Feb 2012 00:43:12 +0100 Subject: avoid unnecessary g_free() calls --- src/fe-gtk/setup.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/fe-gtk/setup.c b/src/fe-gtk/setup.c index 243ebfbf..63cc0d30 100644 --- a/src/fe-gtk/setup.c +++ b/src/fe-gtk/setup.c @@ -2118,8 +2118,10 @@ setup_apply (struct xchatprefs *pr) pango_font_description_set_size (new_desc, pango_font_description_get_size (old_desc)); sprintf (prefs.font_normal, "%s", pango_font_description_to_string (new_desc)); + /* FIXME this is not required after pango_font_description_from_string() g_free (old_desc); g_free (new_desc); + */ #endif setup_apply_real (new_pix, do_ulist, do_layout); -- cgit 1.4.1