diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-07-25 20:56:20 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-07-25 20:56:20 +0800 |
commit | f8745a6d908288280d5a127027b37b93ec80f764 (patch) | |
tree | bb7808a8b33e5706cc7c6f2261b205f94a3f2e69 /lib | |
parent | c7d38517d0a4d4798d280bc5e88e55af1a90e793 (diff) | |
download | gsoc2013-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.c | 1 |
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) |