From 4cf072248fc39d1c63dcb1600ff9e73df8757779 Mon Sep 17 00:00:00 2001 From: Jisi Liu Date: Fri, 23 Sep 2016 11:17:00 -0700 Subject: Fix default instance destructor --- src/google/protobuf/struct.pb.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/google/protobuf/struct.pb.cc') diff --git a/src/google/protobuf/struct.pb.cc b/src/google/protobuf/struct.pb.cc index c609f879..7ef736e2 100644 --- a/src/google/protobuf/struct.pb.cc +++ b/src/google/protobuf/struct.pb.cc @@ -137,9 +137,12 @@ void protobuf_RegisterTypes(const ::std::string&) { } // namespace void protobuf_ShutdownFile_google_2fprotobuf_2fstruct_2eproto() { + Struct::default_instance_.Shutdown(); delete Struct_reflection_; + Value::default_instance_.Shutdown(); delete Value_default_oneof_instance_; delete Value_reflection_; + ListValue::default_instance_.Shutdown(); delete ListValue_reflection_; } -- cgit v1.2.3