mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix bug in dialog add.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2367 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
7d40ada688
commit
eee2ef43a2
@ -530,6 +530,11 @@ accWindow (AccountGroup *this_is_not_used)
|
||||
break;
|
||||
}
|
||||
|
||||
g_free(accData);
|
||||
|
||||
if (result < 0)
|
||||
return NULL;
|
||||
|
||||
DEBUG("destroying account add window\n");
|
||||
|
||||
gdk_window_get_geometry(dialog->window, NULL, NULL,
|
||||
@ -538,7 +543,6 @@ accWindow (AccountGroup *this_is_not_used)
|
||||
gnc_save_window_size("account_add_win", last_width, last_height);
|
||||
|
||||
gtk_widget_destroy(dialog);
|
||||
g_free(accData);
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user