From c6aded804ac9798179675670732cf6a524501eb1 Mon Sep 17 00:00:00 2001 From: Sushma Rai Date: Thu, 9 Feb 2006 07:54:01 +0000 Subject: Freeing font value string. See #309316. svn path=/trunk/; revision=31460 --- mail/em-mailer-prefs.c | 1 + 1 file changed, 1 insertion(+) (limited to 'mail/em-mailer-prefs.c') diff --git a/mail/em-mailer-prefs.c b/mail/em-mailer-prefs.c index e437ee0860..bf32fd9fb3 100644 --- a/mail/em-mailer-prefs.c +++ b/mail/em-mailer-prefs.c @@ -819,6 +819,7 @@ em_mailer_prefs_construct (EMMailerPrefs *prefs) font = gconf_client_get_string (prefs->gconf, "/apps/evolution/mail/display/fonts/monospace", NULL); prefs->font_fixed = GNOME_FONT_PICKER (glade_xml_get_widget (gui, "FontFixed")); gnome_font_picker_set_font_name (prefs->font_fixed, font); + g_free (font); g_object_set_data ((GObject *) prefs->font_fixed, "key", "/apps/evolution/mail/display/fonts/monospace"); g_signal_connect (prefs->font_fixed, "font-set", G_CALLBACK (font_changed), prefs); if (!gconf_client_key_is_writable (prefs->gconf, "/apps/evolution/mail/display/fonts/monospace", NULL)) -- cgit