aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r--mail/mail-ops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index 9a3976c6e8..15fe17c4e9 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -1082,6 +1082,7 @@ add_vtrash_info (CamelStore *store, CamelFolderInfo *info)
url = camel_url_new (info->url, NULL);
path = g_strdup_printf ("/%s", CAMEL_VTRASH_NAME);
camel_url_set_path (url, path);
+ g_free (path);
uri = camel_url_to_string (url, CAMEL_URL_HIDE_ALL);
camel_url_free (url);