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 | |
parent | c7d38517d0a4d4798d280bc5e88e55af1a90e793 (diff) | |
download | gsoc2013-epiphany-f8745a6d908288280d5a127027b37b93ec80f764.tar.gz 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.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | lib/ephy-file-helpers.c | 1 |
2 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,9 @@ +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. + 2005-07-24 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-single.c: (ephy_embed_single_open_window): 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) |