Fix the logic of the #if for the warning.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16745 57a11ea4-9604-0410-9ed3-97b8803252fd
2.4
Derek Atkins 19 years ago
parent 9ffcb192b9
commit e6fbb91151

@ -628,7 +628,7 @@ gnc_commodity_destroy(gnc_commodity * cm)
cm->mark = 0;
#if !ACCOUNTS_CLEANED_UP
#ifdef ACCOUNTS_CLEANED_UP
/* Account objects are not actually cleaned up when a book is closed (in fact
* a memory leak), but commodities are, so in currently this warning gets hit
* quite frequently. Disable the check until cleaning up of accounts objects

Loading…
Cancel
Save