From f8745a6d908288280d5a127027b37b93ec80f764 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Mon, 25 Jul 2005 12:56:20 +0000 Subject: Don't crash in case the desktop file is not found. 2005-07-25 Christian Persch * lib/ephy-file-helpers.c: (ephy_file_launch_desktop_file): Don't crash in case the desktop file is not found. --- lib/ephy-file-helpers.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') 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) -- cgit v1.2.3