aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-04-20 09:32:17 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-04-20 09:32:17 +0800
commitfadb6a35b6bbca31ccd2a45e2cc1de4a3a146cf4 (patch)
tree2e91605dcfd85a41bbb7dd4707fe8933cb5a5b2d
parent36ea0df4e02cd27e76d8e28a3a47729aa5e146a8 (diff)
downloadgsoc2013-evolution-fadb6a35b6bbca31ccd2a45e2cc1de4a3a146cf4.tar
gsoc2013-evolution-fadb6a35b6bbca31ccd2a45e2cc1de4a3a146cf4.tar.gz
gsoc2013-evolution-fadb6a35b6bbca31ccd2a45e2cc1de4a3a146cf4.tar.bz2
gsoc2013-evolution-fadb6a35b6bbca31ccd2a45e2cc1de4a3a146cf4.tar.lz
gsoc2013-evolution-fadb6a35b6bbca31ccd2a45e2cc1de4a3a146cf4.tar.xz
gsoc2013-evolution-fadb6a35b6bbca31ccd2a45e2cc1de4a3a146cf4.tar.zst
gsoc2013-evolution-fadb6a35b6bbca31ccd2a45e2cc1de4a3a146cf4.zip
Free the loading/pending/new/loaded_uid string buffers.
2002-04-19 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (folder_browser_finalise): Free the loading/pending/new/loaded_uid string buffers. svn path=/trunk/; revision=16546
-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;