Removed deletion of nullptr.