aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
author4 <NotZed@Ximian.com>2001-09-25 05:27:21 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-09-25 05:27:21 +0800
commit8ab52c05d984af14cf5583ebd19883a9d0ec1b98 (patch)
treef4f73b67413fa02de1de49af437fcf977753fd40 /camel
parente779a925838d3a0786f836e0c572ee704cce5efe (diff)
downloadgsoc2013-evolution-8ab52c05d984af14cf5583ebd19883a9d0ec1b98.tar.gz
gsoc2013-evolution-8ab52c05d984af14cf5583ebd19883a9d0ec1b98.tar.zst
gsoc2013-evolution-8ab52c05d984af14cf5583ebd19883a9d0ec1b98.zip
In the 'lose' case, free messages, not fetch_data twice!
2001-09-24 <NotZed@Ximian.com> * providers/imap/camel-imap-folder.c (imap_update_summary): In the 'lose' case, free messages, not fetch_data twice! svn path=/trunk/; revision=13101
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog3
-rw-r--r--camel/providers/imap/camel-imap-folder.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index c09a7c62ae..fc02246f57 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,5 +1,8 @@
2001-09-24 <NotZed@Ximian.com>
+ * providers/imap/camel-imap-folder.c (imap_update_summary): In the
+ 'lose' case, free messages, not fetch_data twice!
+
* camel-filter-search.c (check_header): If the type is encoded,
get the fallback charset from the message content-type.
diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c
index 5d2a8ba146..be0be6575d 100644
--- a/camel/providers/imap/camel-imap-folder.c
+++ b/camel/providers/imap/camel-imap-folder.c
@@ -1792,7 +1792,7 @@ imap_update_summary (CamelFolder *folder, int exists,
if (messages->pdata[i])
camel_folder_summary_info_free (folder->summary, messages->pdata[i]);
}
- g_ptr_array_free (fetch_data, TRUE);
+ g_ptr_array_free (messages, TRUE);
}
}