From 0fcd72c9325dbb19f40f6d72f23641ab5c90fa8e Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Wed, 27 Jul 2011 14:55:01 -0700 Subject: [PATCH] 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 --- src/rt/memory_region.cpp | 3 --- 1 file changed, 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(); } }