diff options
-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) |