aboutsummaryrefslogtreecommitdiff
path: root/src/google/protobuf/duration.pb.cc
diff options
context:
space:
mode:
authorJisi Liu <liujisi@google.com>2016-09-23 11:29:21 -0700
committerGitHub <noreply@github.com>2016-09-23 11:29:21 -0700
commit3bfc09d54836f24e6182a3a6b0a4c115347b63a9 (patch)
tree039028caa8b6b29c58c097fc858bada92dbb5426 /src/google/protobuf/duration.pb.cc
parent8c88762e3ef78b81435ecfba973c2e9d3b74f13b (diff)
parentf184cb60358d89924b057a6cebf0485e9ff665d0 (diff)
downloadprotobuf-3bfc09d54836f24e6182a3a6b0a4c115347b63a9.tar.gz
protobuf-3bfc09d54836f24e6182a3a6b0a4c115347b63a9.tar.bz2
protobuf-3bfc09d54836f24e6182a3a6b0a4c115347b63a9.zip
Merge pull request #2170 from pherl/3.1.x
Fix default instance destructor and memory leaks
Diffstat (limited to 'src/google/protobuf/duration.pb.cc')
-rw-r--r--src/google/protobuf/duration.pb.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/google/protobuf/duration.pb.cc b/src/google/protobuf/duration.pb.cc
index 0e1be63c..29b60820 100644
--- a/src/google/protobuf/duration.pb.cc
+++ b/src/google/protobuf/duration.pb.cc
@@ -71,6 +71,7 @@ void protobuf_RegisterTypes(const ::std::string&) {
} // namespace
void protobuf_ShutdownFile_google_2fprotobuf_2fduration_2eproto() {
+ Duration::default_instance_.Shutdown();
delete Duration_reflection_;
}