removed else in the destructor in LinearAllocator. after destruction m_Buffer should always be set to nullptr.