aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Williams <peterw@src.gnome.org>2000-07-26 00:02:20 +0800
committerPeter Williams <peterw@src.gnome.org>2000-07-26 00:02:20 +0800
commite12a083de792951b6946458a61eb080fbb895558 (patch)
tree5fc7dd044b0d7c1713dec0eabe36be77074d23ee
parent44f34e693b5bf287f7a9d5bf7bebd540dce0535f (diff)
downloadgsoc2013-evolution-e12a083de792951b6946458a61eb080fbb895558.tar
gsoc2013-evolution-e12a083de792951b6946458a61eb080fbb895558.tar.gz
gsoc2013-evolution-e12a083de792951b6946458a61eb080fbb895558.tar.bz2
gsoc2013-evolution-e12a083de792951b6946458a61eb080fbb895558.tar.lz
gsoc2013-evolution-e12a083de792951b6946458a61eb080fbb895558.tar.xz
gsoc2013-evolution-e12a083de792951b6946458a61eb080fbb895558.tar.zst
gsoc2013-evolution-e12a083de792951b6946458a61eb080fbb895558.zip
IMAP expunge crash prevention... still not right...
svn path=/trunk/; revision=4316
-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);
}