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 */