Status: New
Owner: liuj...@google.com
Labels: Type-Defect Priority-Medium

New issue 619 by brave...@webrtc.org: Memoryleak since change const ::std::string kEmptyString to const ::std::string& GetEmptyString()
http://code.google.com/p/protobuf/issues/detail?id=619

What steps will reproduce the problem?
The original report is in https://code.google.com/p/webrtc/issues/detail?id=3086.

What is the expected output? What do you see instead?
VLD reports there is memory leak according to the original report.

What version of the product are you using? On what operating system?
The change happens in protobuf r517. Please help to check if this is a problem in protobuf or the way webrtc using protobuf.

Please provide any additional information below.

BTW: I don't quite understand the call stack in which GetEmptyString() is called:
#0  google::protobuf::internal::GetEmptyString ()
at ../../third_party/protobuf/src/google/protobuf/generated_message_util.h:71

#1  0x000000000087df80 in webrtc::audioproc::ReverseStream::SharedCtor (
    this=0x7fffc000e5b0)
    at gen/protoc_out/webrtc/audio_processing/debug.pb.cc:428
#2  0x000000000087defc in webrtc::audioproc::ReverseStream::ReverseStream (
    this=0x7fffc000e5b0)
    at gen/protoc_out/webrtc/audio_processing/debug.pb.cc:414

What is the debug.pb.cc?

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to