diff options
author | Jisi Liu <liujisi@google.com> | 2016-09-23 11:29:21 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-23 11:29:21 -0700 |
commit | 3bfc09d54836f24e6182a3a6b0a4c115347b63a9 (patch) | |
tree | 039028caa8b6b29c58c097fc858bada92dbb5426 /src/google/protobuf/duration.pb.cc | |
parent | 8c88762e3ef78b81435ecfba973c2e9d3b74f13b (diff) | |
parent | f184cb60358d89924b057a6cebf0485e9ff665d0 (diff) | |
download | protobuf-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.cc | 1 |
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_; } |