gnucash unstable: Bug 794730 - SIGSEGV when entering an exchange rate
John Ralls
jralls at code.gnucash.org
Fri Mar 30 11:48:50 EDT 2018
Updated via https://github.com/Gnucash/gnucash/commit/2ea165c7 (commit)
from https://github.com/Gnucash/gnucash/commit/59e9f7a6 (commit)
commit 2ea165c732444d825055930db713bb3b8dca47d9
Author: John Ralls <jralls at ceridwen.us>
Date: Thu Mar 29 16:53:41 2018 -0700
Bug 794730 - SIGSEGV when entering an exchange rate
Clean up the dialog's components *before* calling gtk_widget_destroy!
diff --git a/gnucash/gnome-utils/dialog-transfer.c b/gnucash/gnome-utils/dialog-transfer.c
index beab40a..13204f0 100644
--- a/gnucash/gnome-utils/dialog-transfer.c
+++ b/gnucash/gnome-utils/dialog-transfer.c
@@ -2054,8 +2054,8 @@ close_handler (gpointer user_data)
gnc_save_window_size (GNC_PREFS_GROUP, GTK_WINDOW (dialog));
gtk_widget_hide (dialog);
- gtk_widget_destroy (dialog);
gnc_xfer_dialog_close_cb(GTK_DIALOG(dialog), xferData);
+ gtk_widget_destroy (dialog);
g_free (to_info);
to_info = NULL;
g_free (from_info);
Summary of changes:
gnucash/gnome-utils/dialog-transfer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the gnucash-changes
mailing list