[PATCH] void transaction reason dialog crash
Andreas Köhler
andi5.py at gmx.net
Mon Feb 13 13:12:16 EST 2006
Hi,
after pressing the OK button in the Void Transaction Reason dialog
GnuCash segfaults for me.
Attached patch seems to solve this problem, I hope it is correct.
-- andi5
-------------- next part --------------
Index: src/gnome/gnc-plugin-page-register.c
===================================================================
--- src/gnome/gnc-plugin-page-register.c (revision 13252)
+++ src/gnome/gnc-plugin-page-register.c (working copy)
@@ -1841,7 +1841,7 @@
/* All done. Get rid of it. */
gtk_widget_destroy(dialog);
- g_free(xml);
+ g_object_unref(G_OBJECT(xml));
}
More information about the gnucash-devel
mailing list