aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog7
-rw-r--r--camel/providers/imap/camel-imap-folder.c1
2 files changed, 8 insertions, 0 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 1277d2d834..33c5b6714a 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,10 @@
+2000-07-25 Peter Williams <peterw@helixcode.com>
+
+ * providers/imap/camel-imap-folder.c (imap_expunge): Set
+ imap_folder->summary to NULL after calling imap_summary_free,
+ so we don't get stuck with a junk summary pointer. Should
+ we free it at all?
+
2000-07-25 Jeffrey Stedfast <fejj@helixcode.com>
* providers/imap/camel-imap-folder.c (camel_imap_folder_changed):
diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c
index afd5011ba5..62ced1ff1d 100644
--- a/camel/providers/imap/camel-imap-folder.c
+++ b/camel/providers/imap/camel-imap-folder.c
@@ -362,6 +362,7 @@ imap_expunge (CamelFolder *folder, CamelException *ex)
/* FIXME: maybe remove the appropriate messages from the summary
so we don't need to refetch the entire summary? */
imap_summary_free (imap_folder->summary);
+ imap_folder->summary = NULL;
camel_imap_folder_changed (folder, -1, ex);
}