avoid unnecessary g_free() calls

This commit is contained in:
Berke Viktor 2012-02-16 00:43:12 +01:00
parent 77ca8de9b3
commit fc3d4d31f0
1 changed files with 2 additions and 0 deletions

View File

@ -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);