From 42ab5199eb34f8d4937dc740a7d9a8daabe43102 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Fri, 10 Aug 2001 18:33:49 +0000 Subject: tedfast tedfast * providers/imap/camel-imap-folder.c (imap_rescan): Don't g_strdup() the uid into the trigger_event call. svn path=/trunk/; revision=11892 --- camel/providers/imap/camel-imap-folder.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c index b5fba64117..d0b9e01795 100644 --- a/camel/providers/imap/camel-imap-folder.c +++ b/camel/providers/imap/camel-imap-folder.c @@ -519,21 +519,21 @@ imap_rescan (CamelFolder *folder, int exists, CamelException *ex) camel_folder_summary_info_free (folder->summary, info); g_free (new[i].uid); } - + seq = i + 1; - + /* Free remaining memory. */ while (i < summary_len && new[i].uid) g_free (new[i++].uid); g_free (new); - + /* Remove any leftover cached summary messages. (Yes, we * repeatedly add the same number to the removed array. * See RFC2060 7.4.1) */ for (i = seq; i <= summary_len; i++) g_array_append_val (removed, seq); - + /* And finally update the summary. */ camel_imap_folder_changed (folder, exists, removed, ex); g_array_free (removed, TRUE); -- cgit