aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r--mail/folder-browser.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mail/folder-browser.c b/mail/folder-browser.c
index b48f3f4b61..8a15cc4135 100644
--- a/mail/folder-browser.c
+++ b/mail/folder-browser.c
@@ -533,6 +533,10 @@ message_list_drag_data_received (ETree *tree, int row, ETreePath path, int col,
uri = camel_url_new (url, NULL);
g_free (url);
+
+ if (!uri)
+ continue;
+
url = uri->path;
uri->path = NULL;
camel_url_free (uri);