aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-storage.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-storage.c')
-rw-r--r--shell/e-storage.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/e-storage.c b/shell/e-storage.c
index 7dbe977352..4f7fc7d134 100644
--- a/shell/e-storage.c
+++ b/shell/e-storage.c
@@ -544,6 +544,8 @@ get_path_for_physical_uri_foreach (EFolderTree *folder_tree,
return;
physical_uri = e_folder_get_physical_uri (e_folder);
+ if (physical_uri == NULL)
+ return;
if (strcmp (foreach_data->physical_uri, physical_uri) == 0)
foreach_data->retval = g_strdup (path);