Deletes unused vector.