[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [48351] trunk/blender/intern/guardedalloc/ intern/mallocn.c: committed debug memcount by accident
Campbell Barton
ideasman42 at gmail.com
Thu Jun 28 00:27:20 CEST 2012
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 */
More information about the Bf-blender-cvs
mailing list