aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog3
-rw-r--r--mail/folder-browser.c9
2 files changed, 10 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index b1b6ad4adf..2503603635 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,8 @@
2002-04-19 Jeffrey Stedfast <fejj@ximian.com>
+ * folder-browser.c (folder_browser_finalise): Free the
+ loading/pending/new/loaded_uid string buffers.
+
* mail-config.c (config_read_signature): Free some temporary path
buffers.
diff --git a/mail/folder-browser.c b/mail/folder-browser.c
index 0ce4e7ee64..dede81bfc5 100644
--- a/mail/folder-browser.c
+++ b/mail/folder-browser.c
@@ -133,6 +133,11 @@ folder_browser_finalise (GtkObject *object)
CORBA_exception_init (&ev);
+ g_free (folder_browser->loading_uid);
+ g_free (folder_browser->pending_uid);
+ g_free (folder_browser->new_uid);
+ g_free (folder_browser->loaded_uid);
+
if (folder_browser->search_full)
gtk_object_unref (GTK_OBJECT (folder_browser->search_full));
@@ -172,7 +177,7 @@ folder_browser_finalise (GtkObject *object)
if (folder_browser->clipboard_selection)
g_byte_array_free (folder_browser->clipboard_selection, TRUE);
-
+
if (folder_browser->sensitise_state) {
g_hash_table_destroy(folder_browser->sensitise_state);
folder_browser->sensitise_state = NULL;
@@ -210,7 +215,7 @@ folder_browser_destroy (GtkObject *object)
/* wait for all outstanding async events against us */
mail_async_event_destroy (folder_browser->async_event);
-
+
if (folder_browser->get_id != -1) {
mail_msg_cancel(folder_browser->get_id);
folder_browser->get_id = -1;