mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug 794730 - SIGSEGV when entering an exchange rate
Clean up the dialog's components *before* calling gtk_widget_destroy!
This commit is contained in:
parent
59e9f7a6d7
commit
2ea165c732
@ -2054,8 +2054,8 @@ close_handler (gpointer user_data)
|
|||||||
|
|
||||||
gnc_save_window_size (GNC_PREFS_GROUP, GTK_WINDOW (dialog));
|
gnc_save_window_size (GNC_PREFS_GROUP, GTK_WINDOW (dialog));
|
||||||
gtk_widget_hide (dialog);
|
gtk_widget_hide (dialog);
|
||||||
gtk_widget_destroy (dialog);
|
|
||||||
gnc_xfer_dialog_close_cb(GTK_DIALOG(dialog), xferData);
|
gnc_xfer_dialog_close_cb(GTK_DIALOG(dialog), xferData);
|
||||||
|
gtk_widget_destroy (dialog);
|
||||||
g_free (to_info);
|
g_free (to_info);
|
||||||
to_info = NULL;
|
to_info = NULL;
|
||||||
g_free (from_info);
|
g_free (from_info);
|
||||||
|
Loading…
Reference in New Issue
Block a user