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 48507f36b0..e65317edca 100644
--- a/mail/mail-config.c
+++ b/mail/mail-config.c
@@ -920,8 +920,10 @@ mail_config_get_show_preview (const char *uri)
GINT_TO_POINTER (value));
return value;
- } else
+ } else {
+ g_free (dbkey);
return GPOINTER_TO_INT (val);
+ }
}
/* return the default value */