Debugged dealloc and delete_block in memory_pool. Everything should work now.