aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog7
-rw-r--r--camel/providers/imap/camel-imap-folder.c3
-rw-r--r--camel/providers/imap/camel-imap-message-cache.c5
3 files changed, 13 insertions, 2 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index b2ee747f69..2dc1ccb816 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,5 +1,12 @@
2002-05-31 Jeffrey Stedfast <fejj@ximian.com>
+ * providers/imap/camel-imap-message-cache.c
+ (camel_imap_message_cache_get): Free the path buffer when we're
+ done with it.
+
+ * providers/imap/camel-imap-folder.c (imap_update_summary): Free
+ the final tagged response buffer.
+
* providers/imap/camel-imap-command.c (imap_read_untagged): If we
fail to read a literal, free the temporary string buffer.
diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c
index 156111083a..76ceb5a796 100644
--- a/camel/providers/imap/camel-imap-folder.c
+++ b/camel/providers/imap/camel-imap-folder.c
@@ -1990,6 +1990,9 @@ imap_update_summary (CamelFolder *folder, int exists,
if (type == CAMEL_IMAP_RESPONSE_ERROR)
goto lose;
+ /* Free the final tagged response */
+ g_free (resp);
+
/* Figure out which headers we still need to fetch. */
needheaders = g_ptr_array_new ();
size = got = 0;
diff --git a/camel/providers/imap/camel-imap-message-cache.c b/camel/providers/imap/camel-imap-message-cache.c
index f7ed6e2a5e..0138441b3b 100644
--- a/camel/providers/imap/camel-imap-message-cache.c
+++ b/camel/providers/imap/camel-imap-message-cache.c
@@ -406,14 +406,15 @@ camel_imap_message_cache_get (CamelImapMessageCache *cache, const char *uid,
if (stream) {
camel_stream_reset (CAMEL_STREAM (stream));
camel_object_ref (CAMEL_OBJECT (stream));
+ g_free (path);
return stream;
}
-
+
stream = camel_stream_fs_new_with_name (path, O_RDONLY, 0);
if (stream)
cache_put (cache, uid, key, stream);
g_free (path);
-
+
return stream;
}
yarn/devel/electron6/files/ini-1.3.8&id=ee5554566851101ba01643deb7efe84e96d242d4'>Update to 0.11.tobez2011-09-052-3/+3 * - Replace ../../authors in MASTER_SITE_SUBDIR with CPAN:CPANID macro.az2011-06-211-1/+2 * Update to 0.09.tobez2011-01-112-4/+4 * - Update to 0.07wen2010-11-152-5/+4 * Update to 0.06.tobez2010-06-112-6/+5 * Update to 0.04.tobez2010-01-252-4/+4 * Update to 0.02.tobez2009-09-032-4/+4 * Add lang/p5-Try-Tiny 0.01, a Perl module thattobez2009-09-02