diff options
Diffstat (limited to 'camel/providers/imap')
-rw-r--r-- | camel/providers/imap/camel-imap-message-cache.c | 1 |
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 ee37f500fd..712eeef8c5 100644 --- a/camel/providers/imap/camel-imap-message-cache.c +++ b/camel/providers/imap/camel-imap-message-cache.c @@ -390,6 +390,7 @@ camel_imap_message_cache_get (CamelImapMessageCache *cache, const char *uid, key = strrchr (path, '/') + 1; stream = g_hash_table_lookup (cache->parts, key); if (stream) { + camel_stream_reset (CAMEL_STREAM (stream)); camel_object_ref (CAMEL_OBJECT (stream)); return stream; } |