From 0c301ab7cb9189eec337eb82caf8c94eae734d0d Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 13 Jul 2000 08:56:52 +0000 Subject: New and improved approach to fetching an entire folder summary that should 2000-07-13 Jeffrey Stedfast * providers/imap/camel-imap-folder.c (imap_get_summary): New and improved approach to fetching an entire folder summary that should be much much faster than the old way as it gets 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 svn path=/trunk/; revision=4142 --- camel/ChangeLog | 2 ++ camel/providers/imap/camel-imap-folder.c | 2 ++ 2 files changed, 4 insertions(+) (limited to 'camel') 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 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; -- cgit v1.2.3