diff --git a/ChangeLog b/ChangeLog index dcd2562422..b44d77f900 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2006-02-13 David Hampton + * src/gnome/gnc-plugin-page-register.c: Andreas Köhler's patch to + prevent crash when voiding a transaction. + * src/gnome/glade/sched-xact.glade: * src/gnome/glade/account.glade: Andreas Köhler's patch to wrap label text in a couple of dialogs. diff --git a/src/gnome/gnc-plugin-page-register.c b/src/gnome/gnc-plugin-page-register.c index a412cd35b8..ac0a98e58c 100644 --- a/src/gnome/gnc-plugin-page-register.c +++ b/src/gnome/gnc-plugin-page-register.c @@ -1841,7 +1841,7 @@ gnc_plugin_page_register_cmd_void_transaction (GtkAction *action, /* All done. Get rid of it. */ gtk_widget_destroy(dialog); - g_free(xml); + g_object_unref(xml); }