From f9bbb382f52aef377bb1b477ac209739b777dea8 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Sun, 1 Feb 2015 16:51:39 +0200 Subject: [PATCH] Restart crash workaround. --- main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.cpp b/main.cpp index 0255702d..236953c4 100644 --- a/main.cpp +++ b/main.cpp @@ -126,6 +126,8 @@ void discard_prefs (struct uae_prefs *p, int type) xfree (s->option); xfree (s); } + p->all_lines = NULL; + currprefs.all_lines = changed_prefs.all_lines = NULL; #ifdef FILESYS filesys_cleanup (); #endif -- 2.47.3