diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-06-28 02:27:04 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-06-28 02:27:04 +0400 |
commit | a89d551a1cb203d7c7aa01db5e62e2112b40d18c (patch) | |
tree | 0db6af6cd6bfbcac9d46de16457b23e6cdc6fa2e /intern | |
parent | 7016538974b546464b9b38330d7f33c170d3977e (diff) |
committed debug memcount by accident
Diffstat (limited to 'intern')
-rw-r--r-- | intern/guardedalloc/intern/mallocn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/guardedalloc/intern/mallocn.c b/intern/guardedalloc/intern/mallocn.c index a234f31f87a..c00e9466674 100644 --- a/intern/guardedalloc/intern/mallocn.c +++ b/intern/guardedalloc/intern/mallocn.c @@ -57,11 +57,11 @@ * lets you count the allocations so as to find the allocator of unfreed memory * in situations where the leak is predictable */ -#define DEBUG_MEMCOUNTER +//#define DEBUG_MEMCOUNTER #ifdef DEBUG_MEMCOUNTER /* set this to the value that isn't being freed */ -# define DEBUG_MEMCOUNTER_ERROR_VAL 34723 +# define DEBUG_MEMCOUNTER_ERROR_VAL 0 static int _mallocn_count = 0; /* breakpoint here */ |