diff --git a/common/memory.h b/common/memory.h index fa8a14448..b19f54f94 100644 --- a/common/memory.h +++ b/common/memory.h @@ -625,7 +625,7 @@ class ABSL_ATTRIBUTE_TRIVIAL_ABI [[nodiscard]] Unique final { } } } else { - google::protobuf::Arena::Destroy(ptr_); + delete ptr_; } } }