aboutsummaryrefslogtreecommitdiffstats
path: root/tests/cpp-unit-tests
diff options
context:
space:
mode:
authorJiri Vanek <[email protected]>2014-01-15 15:11:22 +0100
committerJiri Vanek <[email protected]>2014-01-15 15:11:22 +0100
commitf72f4619b8b18245e7314073955454d3a807ac68 (patch)
treed2c13903125b072223d5997f558406bb5a6d6935 /tests/cpp-unit-tests
parent4ca7239b9224fde0a8998b5fa760eb6d12a72a77 (diff)
Fixed memory leak detector to correctly handle pre_init_messages queue.
Diffstat (limited to 'tests/cpp-unit-tests')
-rw-r--r--tests/cpp-unit-tests/MemoryLeakDetector.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/cpp-unit-tests/MemoryLeakDetector.h b/tests/cpp-unit-tests/MemoryLeakDetector.h
index d457cb7..71e333e 100644
--- a/tests/cpp-unit-tests/MemoryLeakDetector.h
+++ b/tests/cpp-unit-tests/MemoryLeakDetector.h
@@ -75,6 +75,8 @@ public:
IcedTeaPluginUtilities::clearInstanceIDs();
/* Clears allocations caused by storeObjectMapping */
IcedTeaPluginUtilities::clearObjectMapping();
+ /*reset messages*/
+ reset_pre_init_messages();
}
int initial_cpp_allocations;