Revision: 48351
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=48351
Author: campbellbarton
Date: 2012-06-27 22:27:04 +0000 (Wed, 27 Jun 2012)
Log Message:
-----------
committed debug memcount by accident
Modified Paths:
--------------
trunk/blender/intern/guardedalloc/intern/mallocn.c
Modified: trunk/blender/intern/guardedalloc/intern/mallocn.c
===================================================================
--- trunk/blender/intern/guardedalloc/intern/mallocn.c 2012-06-27 21:57:33 UTC
(rev 48350)
+++ trunk/blender/intern/guardedalloc/intern/mallocn.c 2012-06-27 22:27:04 UTC
(rev 48351)
@@ -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 */
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs