Skip to content

Commit 93b088e

Browse files
author
Eric Holk
committed
---
yaml --- r: 4714 b: refs/heads/master c: 76aab80 h: refs/heads/master v: v3
1 parent 218f1a1 commit 93b088e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 88a47020cf13e0884a83343c1b7cb3c0312f48a0
2+
refs/heads/master: 76aab80e3988caf71b7d6299e5a7ebb06cf2bbbb

trunk/src/rt/memory_region.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// NB: please do not commit code with this uncommented. It's
55
// hugely expensive and should only be used as a last resort.
66
//
7-
#define TRACK_ALLOCATIONS
7+
// #define TRACK_ALLOCATIONS
88

99
#define MAGIC 0xbadc0ffe
1010

@@ -114,7 +114,7 @@ memory_region::~memory_region() {
114114
}
115115
#ifdef TRACK_ALLOCATIONS
116116
if (_detailed_leaks) {
117-
unsigned int leak_count = 0;
117+
int leak_count = 0;
118118
for (size_t i = 0; i < _allocation_list.size(); i++) {
119119
if (_allocation_list[i] != NULL) {
120120
alloc_header *header = (alloc_header*)_allocation_list[i];

0 commit comments

Comments
 (0)