mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug 797186 - gtk crash closing parent window edit->stylesheets
Free then NULL, not the other way around.
This commit is contained in:
parent
7b6b86000d
commit
d624894099
@ -390,8 +390,8 @@ gnc_style_sheet_select_dialog_response_cb (GtkDialog *unused,
|
||||
|
||||
case GTK_RESPONSE_CLOSE:
|
||||
default:
|
||||
gnc_style_sheet_dialog = NULL;
|
||||
gtk_widget_destroy(ss->toplevel);
|
||||
gnc_style_sheet_dialog = NULL;
|
||||
g_free(ss);
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user