Abort on guarded memory manager errors if WITH_ASSERT_ABORT is set
This commit is contained in:
@@ -711,6 +711,10 @@ static void rem_memblock(MemHead *memh)
|
||||
static void MemorY_ErroR(const char *block, const char *error)
|
||||
{
|
||||
print_error("Memoryblock %s: %s\n",block, error);
|
||||
|
||||
#ifdef WITH_ASSERT_ABORT
|
||||
abort();
|
||||
#endif
|
||||
}
|
||||
|
||||
static const char *check_memlist(MemHead *memh)
|
||||
|
Reference in New Issue
Block a user