Plug a LotList leak; remove ominous comment about memory corruption.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14616 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Chris Shoemaker 2006-08-09 00:59:48 +00:00
parent dde4a52308
commit cc71e25eea

View File

@ -395,13 +395,7 @@ lot_list_preen_open_lots (LotList *lot_list)
LotList *lnext = lnode->next;
if (lot_has_open_trans_tree (lot))
{
lot_list = g_list_remove_link (lot_list, lnode);
/* XXX freeing this node somehow leads to glib g_list
* memory corruption which later takes down the system.
* I don't see why. */
/* g_list_free_1 (lnode); */
}
lot_list = g_list_delete_link(lot_list, lnode);
lnode = lnext;
}
LEAVE (" ");