diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-07-27 14:55:01 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-07-28 12:23:01 -0700 |
| commit | 0fcd72c9325dbb19f40f6d72f23641ab5c90fa8e (patch) | |
| tree | d3ba5ed70876995c6a7325ff7ef845beea6721ca | |
| parent | 4ef1ec580aaf9f95d66c1654ce942f5e454a0b4d (diff) | |
| download | rust-0fcd72c9325dbb19f40f6d72f23641ab5c90fa8e.tar.gz rust-0fcd72c9325dbb19f40f6d72f23641ab5c90fa8e.zip | |
When using the allow leaks hack don't even print a warning about the leak
This is only used for the test runner and in that case it just makes the test output confusing
| -rw-r--r-- | src/rt/memory_region.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/rt/memory_region.cpp b/src/rt/memory_region.cpp index 7114aa5b324..79936949cf8 100644 --- a/src/rt/memory_region.cpp +++ b/src/rt/memory_region.cpp @@ -139,9 +139,6 @@ memory_region::~memory_region() { if (!_hack_allow_leaks) { _srv->fatal(msg, __FILE__, __LINE__, "%d objects", _live_allocations); - } else { - _srv->warning(msg, __FILE__, __LINE__, - "%d objects", _live_allocations); } if (_synchronized) { _lock.unlock(); } } |
