aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap/camel-imap-message-cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/providers/imap/camel-imap-message-cache.c')
-rw-r--r--camel/providers/imap/camel-imap-message-cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/camel/providers/imap/camel-imap-message-cache.c b/camel/providers/imap/camel-imap-message-cache.c
index 474a2f2f80..cd96409515 100644
--- a/camel/providers/imap/camel-imap-message-cache.c
+++ b/camel/providers/imap/camel-imap-message-cache.c
@@ -263,6 +263,7 @@ camel_imap_message_cache_remove (CamelImapMessageCache *cache, const char *uid)
key = subparts->pdata[i];
path = g_strdup_printf ("%s/%s", cache->path, key);
unlink (path);
+ g_free (path);
stream = g_hash_table_lookup (cache->parts, key);
if (stream) {
camel_object_unhook_event (stream, "finalize",