From: Toni Wilen Date: Sun, 1 Feb 2015 14:51:39 +0000 (+0200) Subject: Restart crash workaround. X-Git-Tag: 3100~102 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=f9bbb382f52aef377bb1b477ac209739b777dea8;p=francis%2Fwinuae.git Restart crash workaround. --- 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