aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-07-25 20:56:20 +0800
committerChristian Persch <chpe@src.gnome.org>2005-07-25 20:56:20 +0800
commitf8745a6d908288280d5a127027b37b93ec80f764 (patch)
treebb7808a8b33e5706cc7c6f2261b205f94a3f2e69 /lib
parentc7d38517d0a4d4798d280bc5e88e55af1a90e793 (diff)
downloadgsoc2013-epiphany-f8745a6d908288280d5a127027b37b93ec80f764.tar
gsoc2013-epiphany-f8745a6d908288280d5a127027b37b93ec80f764.tar.gz
gsoc2013-epiphany-f8745a6d908288280d5a127027b37b93ec80f764.tar.bz2
gsoc2013-epiphany-f8745a6d908288280d5a127027b37b93ec80f764.tar.lz
gsoc2013-epiphany-f8745a6d908288280d5a127027b37b93ec80f764.tar.xz
gsoc2013-epiphany-f8745a6d908288280d5a127027b37b93ec80f764.tar.zst
gsoc2013-epiphany-f8745a6d908288280d5a127027b37b93ec80f764.zip
Don't crash in case the desktop file is not found.
2005-07-25 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-file-helpers.c: (ephy_file_launch_desktop_file): Don't crash in case the desktop file is not found.
Diffstat (limited to 'lib')
-rw-r--r--lib/ephy-file-helpers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ephy-file-helpers.c b/lib/ephy-file-helpers.c
index 318c89407..c92c66f30 100644
--- a/lib/ephy-file-helpers.c
+++ b/lib/ephy-file-helpers.c
@@ -839,6 +839,7 @@ ephy_file_launch_desktop_file (const char *filename,
if (g_file_test (path, G_FILE_TEST_IS_REGULAR)) break;
g_free (path);
+ path = NULL;
}
if (path != NULL)