aboutsummaryrefslogtreecommitdiffstats
path: root/mail/component-factory.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/component-factory.c')
-rw-r--r--mail/component-factory.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mail/component-factory.c b/mail/component-factory.c
index a228868a58..b3077f5699 100644
--- a/mail/component-factory.c
+++ b/mail/component-factory.c
@@ -630,6 +630,10 @@ destination_folder_handle_drop (EvolutionShellComponentDndDestinationFolder *des
uri = camel_url_new (url, NULL);
g_free (url);
+
+ if (!uri)
+ continue;
+
url = uri->path;
uri->path = NULL;
camel_url_free (uri);