mirror of
https://github.com/hexchat/hexchat.git
synced 2024-11-10 21:22:38 +01:00
avoid unnecessary g_free() calls
This commit is contained in:
parent
77ca8de9b3
commit
fc3d4d31f0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user