summary refs log tree commit diff stats
path: root/src/fe-gtk/setup.c
diff options
context:
space:
mode:
authorBerke Viktor <berkeviktor@aol.com>2012-02-16 00:43:12 +0100
committerBerke Viktor <berkeviktor@aol.com>2012-02-16 00:43:12 +0100
commitfc3d4d31f01a639972faf5fd5f85fc6602f53c1b (patch)
tree68fb50535e88531aec128d6c2181dfa16cca52ff /src/fe-gtk/setup.c
parent77ca8de9b3fd241e3191441a5cbde69fad2bf375 (diff)
avoid unnecessary g_free() calls
Diffstat (limited to 'src/fe-gtk/setup.c')
-rw-r--r--src/fe-gtk/setup.c2
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);