mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[Account.cpp] ensure priv->splits releases memory on shutdown
This commit is contained in:
parent
ae8e50e410
commit
35b6fb767d
@ -1437,6 +1437,7 @@ xaccFreeAccount (Account *acc)
|
||||
gnc_commodity_decrement_usage_count(priv->commodity);
|
||||
priv->commodity = nullptr;
|
||||
priv->splits.clear();
|
||||
priv->splits.shrink_to_fit();
|
||||
|
||||
priv->balance_dirty = FALSE;
|
||||
priv->sort_dirty = FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user