diff options
author | Gustavo Noronha Silva <gns@src.gnome.org> | 2009-03-26 23:36:02 +0800 |
---|---|---|
committer | Gustavo Noronha Silva <gns@src.gnome.org> | 2009-03-26 23:36:02 +0800 |
commit | c1b4f06d9d024ed062f2e71a98f5a23c732bd475 (patch) | |
tree | 0b620290e508cb27938697e7fe7282d2b76a4bae /lib | |
parent | a551a219577761befd9450f487394013bad857d2 (diff) | |
download | gsoc2013-epiphany-c1b4f06d9d024ed062f2e71a98f5a23c732bd475.tar gsoc2013-epiphany-c1b4f06d9d024ed062f2e71a98f5a23c732bd475.tar.gz gsoc2013-epiphany-c1b4f06d9d024ed062f2e71a98f5a23c732bd475.tar.bz2 gsoc2013-epiphany-c1b4f06d9d024ed062f2e71a98f5a23c732bd475.tar.lz gsoc2013-epiphany-c1b4f06d9d024ed062f2e71a98f5a23c732bd475.tar.xz gsoc2013-epiphany-c1b4f06d9d024ed062f2e71a98f5a23c732bd475.tar.zst gsoc2013-epiphany-c1b4f06d9d024ed062f2e71a98f5a23c732bd475.zip |
Check for NULL uri in ephy_file_delete_uri.
svn path=/trunk/; revision=8941
Diffstat (limited to 'lib')
-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); |