aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-config.c')
-rw-r--r--mail/mail-config.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/mail/mail-config.c b/mail/mail-config.c
index e607019636..f874e56814 100644
--- a/mail/mail-config.c
+++ b/mail/mail-config.c
@@ -442,7 +442,7 @@ config_read_signatures ()
static void
config_write_signature (MailConfigSignature *sig, gint i)
{
- gchar *path;
+ char *path;
printf ("config_write_signature i: %d id: %d\n", i, sig->id);
@@ -460,9 +460,11 @@ config_write_signature (MailConfigSignature *sig, gint i)
path = g_strdup_printf ("/Mail/Signatures/random_%d", i);
bonobo_config_set_boolean (config->db, path, sig->random, NULL);
-
+ g_free (path);
+
path = g_strdup_printf ("/Mail/Signatures/html_%d", i);
bonobo_config_set_boolean (config->db, path, sig->html, NULL);
+ g_free (path);
}
static void