aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-tools.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-tools.c')
-rw-r--r--mail/mail-tools.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/mail-tools.c b/mail/mail-tools.c
index 9892090221..565fcaed71 100644
--- a/mail/mail-tools.c
+++ b/mail/mail-tools.c
@@ -535,11 +535,12 @@ static char *meta_data_key(const char *uri, char **pathp)
if (key == NULL)
key = uri;
+ p = g_strdup(key);
camel_url_free(url);
*pathp = path->str;
g_string_free(path, FALSE);
- return g_strdup(key);
+ return p;
}
EMeta *