aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorSushma Rai <rsushma@src.gnome.org>2006-02-09 15:54:01 +0800
committerSushma Rai <rsushma@src.gnome.org>2006-02-09 15:54:01 +0800
commitc6aded804ac9798179675670732cf6a524501eb1 (patch)
tree0ef626c09381941dcddfd2c2f054111d76587556 /mail
parent695d5cfac8c80a2aa2d1a5ca999ac4aaebaf976c (diff)
downloadgsoc2013-evolution-c6aded804ac9798179675670732cf6a524501eb1.tar
gsoc2013-evolution-c6aded804ac9798179675670732cf6a524501eb1.tar.gz
gsoc2013-evolution-c6aded804ac9798179675670732cf6a524501eb1.tar.bz2
gsoc2013-evolution-c6aded804ac9798179675670732cf6a524501eb1.tar.lz
gsoc2013-evolution-c6aded804ac9798179675670732cf6a524501eb1.tar.xz
gsoc2013-evolution-c6aded804ac9798179675670732cf6a524501eb1.tar.zst
gsoc2013-evolution-c6aded804ac9798179675670732cf6a524501eb1.zip
Freeing font value string. See #309316.
svn path=/trunk/; revision=31460
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/em-mailer-prefs.c1
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))