aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorMichael Zucci <zucchi@src.gnome.org>2000-12-24 09:42:27 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-12-24 09:42:27 +0800
commitd187b5887d16afa700bcd747b693ef2b1f81b0f1 (patch)
tree36c1ca5109ac6704fda877496ee9e126013e4f19 /camel
parent5363e65d856ac986e6c39eaa6aac53293a7db4f7 (diff)
downloadgsoc2013-evolution-d187b5887d16afa700bcd747b693ef2b1f81b0f1.tar
gsoc2013-evolution-d187b5887d16afa700bcd747b693ef2b1f81b0f1.tar.gz
gsoc2013-evolution-d187b5887d16afa700bcd747b693ef2b1f81b0f1.tar.bz2
gsoc2013-evolution-d187b5887d16afa700bcd747b693ef2b1f81b0f1.tar.lz
gsoc2013-evolution-d187b5887d16afa700bcd747b693ef2b1f81b0f1.tar.xz
gsoc2013-evolution-d187b5887d16afa700bcd747b693ef2b1f81b0f1.tar.zst
gsoc2013-evolution-d187b5887d16afa700bcd747b693ef2b1f81b0f1.zip
(camel_imap_folder_changed): Make sure we unref the summary lookup.
svn path=/trunk/; revision=7156
Diffstat (limited to 'camel')
-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);
}
}