aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-selection-button.c
diff options
context:
space:
mode:
authorHiroyuki Ikezoe <poincare@ikezoe.net>2006-07-10 18:56:07 +0800
committerHarish Krishnaswamy <kharish@src.gnome.org>2006-07-10 18:56:07 +0800
commitb551414de076b32b638742aa26c0aa175f0e3e7a (patch)
treeaa07e3cffa1a8a3fa72417df4b4412091e85f991 /mail/em-folder-selection-button.c
parent79e662f99e144d6ad8d14d720315f131325ee2ae (diff)
downloadgsoc2013-evolution-b551414de076b32b638742aa26c0aa175f0e3e7a.tar.gz
gsoc2013-evolution-b551414de076b32b638742aa26c0aa175f0e3e7a.tar.zst
gsoc2013-evolution-b551414de076b32b638742aa26c0aa175f0e3e7a.zip
Fixing memory leaks.
2006-07-07 Hiroyuki Ikezoe <poincare@ikezoe.net> Fixing memory leaks. svn path=/trunk/; revision=32269
Diffstat (limited to 'mail/em-folder-selection-button.c')
-rw-r--r--mail/em-folder-selection-button.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mail/em-folder-selection-button.c b/mail/em-folder-selection-button.c
index 97f165e1b4..4b08ee6601 100644
--- a/mail/em-folder-selection-button.c
+++ b/mail/em-folder-selection-button.c
@@ -234,6 +234,7 @@ em_folder_selection_button_clicked (GtkButton *button)
model = mail_component_peek_tree_model (mail_component_peek ());
emft = (EMFolderTree *) em_folder_tree_new_with_model (model);
+ g_object_unref (model);
em_folder_tree_set_multiselect (emft, priv->multiple_select);
em_folder_tree_set_excluded(emft, EMFT_EXCLUDE_NOSELECT|EMFT_EXCLUDE_VIRTUAL|EMFT_EXCLUDE_VTRASH);
dialog = em_folder_selector_new (emft, EM_FOLDER_SELECTOR_CAN_CREATE, priv->title, priv->caption, NULL);