Assertion failure on exit
Status: Pre-Alpha
Brought to you by:
battalaykut
important note:
this doesn't happen if the map file isn't loaded.
blockallocator.h : line 151
-----------------------------------------------
/**
* Destruct all. Note that objects have to be freed
properly before
* the block allocator is called, otherwise the
destructors will not
* be called! In debug mode this destructor will also
check that all
* objects are freed correctly.
*/
~csBlockAllocator ()
{
#ifdef CS_DEBUG
CS_ASSERT (firstfreeblock == 0);
int i;
for (i = 0 ; i < blocks.Length () ; i++)
{
*** CS_ASSERT (blocks[i].firstfree == (csFreeList*)
blocks[i].memory);
CS_ASSERT (blocks[i].firstfree->next == 0);
CS_ASSERT (blocks[i].firstfree->numfree == size);
}
#endif
}