void gui_quit(void) { nsgtk_download_destroy(); urldb_save_cookies(nsoption_charp(cookie_jar)); urldb_save(nsoption_charp(url_file)); nsgtk_cookies_destroy(); nsgtk_history_destroy(); nsgtk_hotlist_destroy(); sslcert_cleanup(); free(print_options_file_location); free(search_engines_file_location); free(search_default_ico_location); free(toolbar_indices_file_location); gtk_fetch_filetype_fin(); }
static void gui_quit(void) { LOG("Quitting GUI"); /* Ensure all scaffoldings are destroyed before we go into exit */ nsgtk_download_destroy(); urldb_save_cookies(nsoption_charp(cookie_jar)); urldb_save(nsoption_charp(url_file)); nsgtk_cookies_destroy(); nsgtk_history_destroy(); nsgtk_hotlist_destroy(); free(toolbar_indices_file_location); free(nsgtk_config_home); gtk_fetch_filetype_fin(); }