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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c
index 29c75fb287..9ca860ff5f 100644
--- a/shell/e-shell-view.c
+++ b/shell/e-shell-view.c
@@ -409,7 +409,7 @@ switch_on_folder_tree_click (EShellView *shell_view,
priv = shell_view->priv;
uri = g_strconcat (E_SHELL_URI_PREFIX, path, NULL);
- if (!strcmp (uri, priv->uri)) {
+ if (priv->uri != NULL && !strcmp (uri, priv->uri)) {
g_free (uri);
return;
}