Deallocating

    We must not call when self.cap == 0, as in this case wehaven’t actually allocated any memory.