I am using protobuf for communication between clients and servers. When I
use valgrind to check the client binary, the following messages are listed.
It seems there is some possible lost memory in
__static_initialization_and_destruction_0. But why does this appear? How
to suppress it?
Hi, I am using protobuf in C++ but confused by set_allocated_xxx. For
example, there is a message PB_a which has a member of message PB_b. First
create a PB_a object named aa and a PB_b object named bb via new PB_a() and
new PB_b(). Then add bb to aa via set_allocated_PB_b(). So the question