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.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/mail-config.c b/mail/mail-config.c
index 40d0fc8cbc..7002a20584 100644
--- a/mail/mail-config.c
+++ b/mail/mail-config.c
@@ -973,8 +973,10 @@ mail_config_get_thread_list (const char *uri)
GINT_TO_POINTER (value));
return value;
- } else
+ } else {
+ g_free(dbkey);
return GPOINTER_TO_INT (val);
+ }
}
/* return the default value */