diff options
Diffstat (limited to 'lib/ephy-file-helpers.c')
-rw-r--r-- | lib/ephy-file-helpers.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ephy-file-helpers.c b/lib/ephy-file-helpers.c index 7f38978dd..c3741a7b5 100644 --- a/lib/ephy-file-helpers.c +++ b/lib/ephy-file-helpers.c @@ -768,6 +768,8 @@ ephy_file_delete_uri (const char *uri) GFile *file; gboolean ret; + g_return_if_fail (uri); + file = g_file_new_for_uri (uri); ret = g_file_delete (file, NULL, NULL); |