Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-06-28 02:27:04 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-06-28 02:27:04 +0400
commita89d551a1cb203d7c7aa01db5e62e2112b40d18c (patch)
tree0db6af6cd6bfbcac9d46de16457b23e6cdc6fa2e /intern/guardedalloc
parent7016538974b546464b9b38330d7f33c170d3977e (diff)
committed debug memcount by accident
Diffstat (limited to 'intern/guardedalloc')
-rw-r--r--intern/guardedalloc/intern/mallocn.c4
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 */