fix memory leak

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4557 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas
2001-06-09 05:12:20 +00:00
parent e94e681a48
commit c1c218bee3

View File

@@ -502,6 +502,7 @@ gnc_transaction_end_handler(gpointer data_for_children,
xmlElemDump(stdout, NULL, tree);
xaccTransBeginEdit(trn);
xaccTransDestroy(trn);
xaccTransCommitEdit(trn);
}
xmlFreeNode(tree);