Merge in latest unordered developments (revisions 42607-42611).

[SVN r42612]
This commit is contained in:
Daniel James
2008-01-08 13:59:01 +00:00
parent dfac5aab41
commit e847046f95
5 changed files with 37 additions and 40 deletions

View File

@@ -297,7 +297,7 @@ namespace test
void track_deallocate(void* ptr, std::size_t n, std::size_t size, int tag)
{
allocated_memory_type::iterator pos
= allocated_memory.find(memory_area(ptr, (char*) ptr + n));
= allocated_memory.find(memory_area(ptr, (char*) ptr + n * size));
if(pos == allocated_memory.end()) {
BOOST_ERROR("Deallocating unknown pointer.");
} else {