aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog1
-rw-r--r--camel/providers/imap/camel-imap-folder.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 298627e4b3..def6d5d0c2 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -29,6 +29,7 @@
(imap_refresh_info): Free any info lookups. Use folder->summary
not imap_folder->summary. And lock around commands.
(camel_imap_folder_changed): Use folder->summary again.
+ (camel_imap_folder_changed): Make sure we unref the summary lookup.
2000-12-22 Dan Winship <danw@helixcode.com>
diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c
index f343de8450..4d163b4038 100644
--- a/camel/providers/imap/camel-imap-folder.c
+++ b/camel/providers/imap/camel-imap-folder.c
@@ -736,6 +736,7 @@ camel_imap_folder_changed (CamelFolder *folder, int exists,
info = camel_folder_summary_index (folder->summary, id - 1);
camel_folder_change_info_remove_uid (changes, camel_message_info_uid (info));
camel_folder_summary_remove (folder->summary, info);
+ camel_folder_summary_info_free(folder->summary, info);
}
}