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 01:41:17 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-06-28 01:41:17 +0400
commita09feb738627abfce71026352214e1512d40bcb8 (patch)
tree8557089d05d3fddd12b69d96f33cb0ac98d34c83 /intern/guardedalloc
parentd30c7356b7a3d9db803c227617a784dee7054371 (diff)
option so operators can be executed with undo enabled (and redo).
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 f1a83583715..a234f31f87a 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 0
+# define DEBUG_MEMCOUNTER_ERROR_VAL 34723
static int _mallocn_count = 0;
/* breakpoint here */