aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shell-view.c')
-rw-r--r--shell/e-shell-view.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c
index ac8db674d6..8091baf1f4 100644
--- a/shell/e-shell-view.c
+++ b/shell/e-shell-view.c
@@ -482,6 +482,8 @@ destroy (GtkObject *object)
g_hash_table_foreach (priv->uri_to_control, hash_forall_destroy_control, NULL);
g_hash_table_destroy (priv->uri_to_control);
+ bonobo_object_unref (priv->uih);
+
g_free (priv->uri);
g_free (priv);
@@ -841,8 +843,9 @@ get_control_for_uri (EShellView *shell_view,
CORBA_exception_init (&ev);
- corba_control = Evolution_ShellComponent_create_view (handler, e_folder_get_physical_uri (folder),
- folder_type, &ev);
+ corba_control = Evolution_ShellComponent_create_view (
+ handler, e_folder_get_physical_uri (folder), folder_type, &ev);
+
if (ev._major != CORBA_NO_EXCEPTION) {
CORBA_exception_free (&ev);
return NULL;