aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-data-cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-data-cache.c')
-rw-r--r--camel/camel-data-cache.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/camel/camel-data-cache.c b/camel/camel-data-cache.c
index 9f44a89f5c..91ab7f0588 100644
--- a/camel/camel-data-cache.c
+++ b/camel/camel-data-cache.c
@@ -400,6 +400,8 @@ camel_data_cache_get(CamelDataCache *cdc, const char *path, const char *key, Cam
camel_object_hook_event((CamelObject *)stream, "finalize", stream_finalised, cdc);
g_hash_table_insert(cdc->priv->busy_stream, stream, real);
g_hash_table_insert(cdc->priv->busy_path, real, stream);
+ } else {
+ g_free (real);
}
}