From fadb6a35b6bbca31ccd2a45e2cc1de4a3a146cf4 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Sat, 20 Apr 2002 01:32:17 +0000 Subject: Free the loading/pending/new/loaded_uid string buffers. 2002-04-19 Jeffrey Stedfast * folder-browser.c (folder_browser_finalise): Free the loading/pending/new/loaded_uid string buffers. svn path=/trunk/; revision=16546 --- mail/ChangeLog | 3 +++ mail/folder-browser.c | 9 +++++++-- 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 + * 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; -- cgit