aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog2
-rw-r--r--camel/providers/imap/camel-imap-folder.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index d2b9d25b71..f420de37b0 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -6,6 +6,8 @@
the entire folder summary in 1 shot rather than requesting
message by message. As with the last update, this version
also only fetches the minimum number of header fields.
+ (imap_get_summary): Oops, forgot to free the temp
+ GPtrArray *headers
2000-07-13 Jeffrey Stedfast <fejj@helixcode.com>
diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c
index 30e44b0528..e19a172bb2 100644
--- a/camel/providers/imap/camel-imap-folder.c
+++ b/camel/providers/imap/camel-imap-folder.c
@@ -1180,6 +1180,8 @@ imap_get_summary (CamelFolder *folder, CamelException *ex)
g_ptr_array_add (summary, info);
}
+ g_ptr_array_free (headers, TRUE);
+
imap_folder->summary = summary;
return summary;