aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-browser.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-folder-browser.c')
-rw-r--r--mail/em-folder-browser.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/em-folder-browser.c b/mail/em-folder-browser.c
index 313b2f61e4..0f1cfc6922 100644
--- a/mail/em-folder-browser.c
+++ b/mail/em-folder-browser.c
@@ -1006,6 +1006,9 @@ emfb_activate(EMFolderView *emfv, BonoboUIComponent *uic, int act)
if (p->view_instance) {
g_object_unref(p->view_instance);
p->view_instance = NULL;
+ }
+
+ if (p->view_menus) {
g_object_unref(p->view_menus);
p->view_menus = NULL;
}