getty-zig / getty

A (de)serialization framework for Zig
https://getty.so
MIT License
183 stars 14 forks source link

Document expected usage of `free` #128

Closed ibokuri closed 11 months ago

ibokuri commented 1 year ago

The doc comment for the free function should note that it is intended to be used for completely deserialized values. Partially deserialized values will, more likely than not, require custom freeing logic to be used.