Skip to content

Commit 0c2bb89

Browse files
author
Eric Holk
committed
---
yaml --- r: 4079 b: refs/heads/master c: 75ee817 h: refs/heads/master i: 4077: 287b881 4075: e2f9b6a 4071: 726dabf 4063: a928e43 v: v3
1 parent dc2832b commit 0c2bb89

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

[refs]

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 838511e3aa58045a88d76dd431c643fa94f4c6da
2+
refs/heads/master: 75ee817713f3352f2f80639c99ee2ec4477dfd66

trunk/src/rt/memory_region.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ memory_region::alloc_header *memory_region::get_header(void *mem) {
1515
memory_region::memory_region(rust_srv *srv, bool synchronized) :
1616
_srv(srv), _parent(NULL), _live_allocations(0),
1717
_detailed_leaks(getenv("RUST_DETAILED_LEAKS") != NULL),
18-
_synchronized(synchronized) {
18+
_synchronized(synchronized), _hack_allow_leaks(false) {
1919
}
2020

2121
memory_region::memory_region(memory_region *parent) :
2222
_srv(parent->_srv), _parent(parent), _live_allocations(0),
2323
_detailed_leaks(parent->_detailed_leaks),
24-
_synchronized(parent->_synchronized) {
24+
_synchronized(parent->_synchronized), _hack_allow_leaks(false) {
2525
}
2626

2727
void memory_region::add_alloc() {

0 commit comments

Comments
 (0)