jeroen / protolite

Fast and Simple Object Serialization to Protocol Buffers
Other
48 stars 9 forks source link

Free stuff #3

Closed jeroen closed 8 years ago

jeroen commented 8 years ago

I'm not sure if the pointers to objects created with add_foo (for repeated) and mutable_foo (for regular objects) should be manually released or not.

https://developers.google.com/protocol-buffers/docs/reference/cpp-generated

jeroen commented 8 years ago

Seems like they get free'd automatically when the parent object goes out of scope.