diff options
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r-- | composer/e-msg-composer.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index 8cbefb3edd..8cea22d775 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -2493,6 +2493,10 @@ drag_data_received (EMsgComposer *composer, GdkDragContext *context, } else { url = camel_url_new (str, NULL); g_free (str); + + if (url == NULL) + continue; + filename = url->path; url->path = NULL; camel_url_free (url); |