> I'm using protocol buffers in my project (C++), and while I was
> hunting for memory leaks, I discovered that in the generated code,
> static members are being allocated, but there's no way to free them.


> It's not a major issue, because the leak only occur when you exit the
> application (and the static members are not being free as they
> should), but I would like to know if you are aware of this issue, and
> is there a workaround or any other solution?

it's major issue if PB used in shared library with load/call/unload usage 
pattern :(

Ivan Kharin

You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to