diff options
Diffstat (limited to 'src/window-commands.c')
-rw-r--r-- | src/window-commands.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/window-commands.c b/src/window-commands.c index 394bee9c2..0189b8588 100644 --- a/src/window-commands.c +++ b/src/window-commands.c @@ -508,6 +508,8 @@ dialog_save_as_application_response_cb (GtkDialog *dialog, if (response == GTK_RESPONSE_OK) { profile_dir = ephy_web_application_get_profile_directory (gtk_entry_get_text (GTK_ENTRY (data->entry))); + if (!profile_dir) + return; profile_exists = g_file_test (profile_dir, G_FILE_TEST_IS_DIR); g_free (profile_dir); |