about summary refs log tree commit diff
path: root/src/rt/memory_region.cpp
diff options
context:
space:
mode:
authorEric Holk <eholk@mozilla.com>2011-08-13 18:15:56 -0700
committerEric Holk <eholk@mozilla.com>2011-08-15 09:26:52 -0700
commitd63f8340a5e947cdf6b3ad34d3683f2ae9e5cf84 (patch)
treed125d87449992eeed18954fca6052c7f7e1fb543 /src/rt/memory_region.cpp
parentaa0a51a7f56c4c343b296492ffaa2bc296c0b224 (diff)
downloadrust-d63f8340a5e947cdf6b3ad34d3683f2ae9e5cf84.tar.gz
rust-d63f8340a5e947cdf6b3ad34d3683f2ae9e5cf84.zip
Properly ref counting to fix valgrind issues on linux.
Diffstat (limited to 'src/rt/memory_region.cpp')
-rw-r--r--src/rt/memory_region.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt/memory_region.cpp b/src/rt/memory_region.cpp
index d9755c55888..7b38f65caaf 100644
--- a/src/rt/memory_region.cpp
+++ b/src/rt/memory_region.cpp
@@ -4,7 +4,7 @@
 // NB: please do not commit code with this uncommented. It's
 // hugely expensive and should only be used as a last resort.
 //
-#define TRACK_ALLOCATIONS
+// #define TRACK_ALLOCATIONS
 
 #define MAGIC 0xbadc0ffe