diff options
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/em-mailer-prefs.c | 1 |
2 files changed, 6 insertions, 0 deletions
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 <rsushma@novell.com> + + * em-mailer-prefs.c (em_mailer_prefs_construct): Freeing font value + string. See #309316. + 2006-02-08 Karsten Bräckelmann <guenther@rudersport.de> * 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)) |