diff options
author | Berke Viktor <berkeviktor@aol.com> | 2012-02-16 00:43:12 +0100 |
---|---|---|
committer | Berke Viktor <berkeviktor@aol.com> | 2012-02-16 00:43:12 +0100 |
commit | fc3d4d31f01a639972faf5fd5f85fc6602f53c1b (patch) | |
tree | 68fb50535e88531aec128d6c2181dfa16cca52ff | |
parent | 77ca8de9b3fd241e3191441a5cbde69fad2bf375 (diff) |
avoid unnecessary g_free() calls
-rw-r--r-- | src/fe-gtk/setup.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |