aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-07-13 16:56:52 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-07-13 16:56:52 +0800
commit0c301ab7cb9189eec337eb82caf8c94eae734d0d (patch)
tree85e44ef09f7e57982290d159e34c9c0954038bd9 /camel/providers/imap
parent5cb1a7b1e62bc4d739bb3234315e6b28c6f87c03 (diff)
downloadgsoc2013-evolution-0c301ab7cb9189eec337eb82caf8c94eae734d0d.tar
gsoc2013-evolution-0c301ab7cb9189eec337eb82caf8c94eae734d0d.tar.gz
gsoc2013-evolution-0c301ab7cb9189eec337eb82caf8c94eae734d0d.tar.bz2
gsoc2013-evolution-0c301ab7cb9189eec337eb82caf8c94eae734d0d.tar.lz
gsoc2013-evolution-0c301ab7cb9189eec337eb82caf8c94eae734d0d.tar.xz
gsoc2013-evolution-0c301ab7cb9189eec337eb82caf8c94eae734d0d.tar.zst
gsoc2013-evolution-0c301ab7cb9189eec337eb82caf8c94eae734d0d.zip
New and improved approach to fetching an entire folder summary that should
2000-07-13 Jeffrey Stedfast <fejj@helixcode.com> * 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
Diffstat (limited to 'camel/providers/imap')
-rw-r--r--camel/providers/imap/camel-imap-folder.c2
1 files changed, 2 insertions, 0 deletions
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;