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/ChangeLog | 5 +++++ mail/em-mailer-prefs.c | 1 + 2 files changed, 6 insertions(+) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index 590cb92ecd..e0ba8b0127 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2006-02-09 Sushma Rai + + * em-mailer-prefs.c (em_mailer_prefs_construct): Freeing font value + string. See #309316. + 2006-02-08 Karsten Bräckelmann * mail.error.xml: Fix typo and correct phrasing. Fixes bug #330387. 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 v1.2.3