From e6fbb91151ca46a337e65f75e6754e1093f2ee5f Mon Sep 17 00:00:00 2001 From: Derek Atkins Date: Thu, 27 Dec 2007 14:02:06 +0000 Subject: [PATCH] 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 --- src/engine/gnc-commodity.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/gnc-commodity.c b/src/engine/gnc-commodity.c index 87ee5efbb6..0cc5537313 100644 --- a/src/engine/gnc-commodity.c +++ b/src/engine/gnc-commodity.c @@ -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